Created
April 19, 2012 20:56
-
-
Save jbpros/2424136 to your computer and use it in GitHub Desktop.
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
| Given a user | |
| When I GET the user as JSON | |
| Then I receive the JSON representation of the user |
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
| Given the following user: | |
| | attribute | value | | |
| | login | octocat | | |
| | id | 1 | | |
| When I GET /user/1 as JSON | |
| Then I receive the following "200 OK" JSON response: | |
| """ | |
| { | |
| "login": "octocat", | |
| "id": 1, | |
| } | |
| """ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment