Skip to content

Instantly share code, notes, and snippets.

@ywen
Created April 17, 2012 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ywen/2409103 to your computer and use it in GitHub Desktop.
Save ywen/2409103 to your computer and use it in GitHub Desktop.
Given a user exists
When I send a GET request as:
"""
/users/user-id.json?api_token=your-token
"""
Then I receive a JSON response as:
"""
{
user: {
id: user's unique identifier,
...
}
}
"""
@ywen
Copy link
Author

ywen commented Apr 17, 2012

Given a user exists
When I find the user
Then I receive the user I requested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment