Executed features | Passed | Failures | Errors | Skipped | Success rate | Time |
---|---|---|---|---|---|---|
1 | 1 | 0 | 0 | 0 | 100.0% | 0.013 seconds |
should print text view of data
Return
|
|||||||||||||
Given:
|
@Subject def printer = new TextPrinter() |
||||||||||||
And:
|
def data = text.bytes |
||||||||||||
Expect:
|
printer.apply(data) == expected |
||||||||||||
And:
|
expected = "text view: $text" |
||||||||||||
Examples:
|
|
3/3 passed
|