Skip to content

Instantly share code, notes, and snippets.

@sneakin
Created June 26, 2010 00:16
Show Gist options
  • Save sneakin/453624 to your computer and use it in GitHub Desktop.
Save sneakin/453624 to your computer and use it in GitHub Desktop.
Scenario: happy path
When I send "connect alice password"
Then I see
"""
Hello alice! For help, enter "/help".
"""
And I see "You are standing in the mud."
And I see "There is a helicopter a click to your six and two crates a yard ahead."
And I see "Direction: east"
And the people I see are: alice
And I see a prompt
And "authenticated alice" was logged
When I wait a minute
Then I see "You hear a helicopter go \"Whoosh. Whoosh.\" behind you."
When I send "/run 1 click west"
Then I see "You begin running west."
When I wait two minutes
Then I see "You hear a helicopter go \"Whosh. Whoosh.\" in front of you."
When I wait five minutes
Then I see "You stop and are standing in the mud."
Then I see "There is a helicopter right in front of you."
And I see "Direction: west"
When I wait a minute
Then I see "You hear a helicopter go \"Whosh. Whoosh.\" in front of you."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment