Created
January 21, 2013 01:11
-
-
Save jharmn/4582935 to your computer and use it in GitHub Desktop.
Cucumber example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Positive @Get @User | |
| Scenario: Show twitter user | |
| Given I access the resource url "/1/users/show.json" | |
| And I provide parameter "screen_name" as "jasonh_n_austin" | |
| And I provide parameter "include_entities" as "true" | |
| When I retrieve the results | |
| Then the status code should be 200 | |
| And it should have the field "name" containing the value "Jason Harmon" | |
| And it should have the field "id" containing the value "57005215" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment