2
Feature: Handle unexpected response
4
When the server sends us back a message we don't understand, this is how Cucumber will behave.
7
Given a file named "features/wired.feature" with:
14
And a file named "features/step_definitions/some_remote_place.wire" with:
21
Scenario: Unexpected response
22
Given there is a wire server running on port 54321 which understands the following protocol:
23
| request | response |
24
| ["begin_scenario"] | ["yikes"] |
25
| ["step_matches",{"name_to_match":"we're all wired"}] | ["success",[{"id":"1", "args":[]}]] |
26
When I run `cucumber -f pretty`
27
Then the output should contain:
29
undefined method `handle_yikes'