Skip to content

Instantly share code, notes, and snippets.

@bzitzow
Created November 13, 2012 23:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save bzitzow/4069192 to your computer and use it in GitHub Desktop.
Save bzitzow/4069192 to your computer and use it in GitHub Desktop.
Background:
Given I authenticate with the following user:
| user | license | type |
| test | 12354 | developer |
When I send a "POST" request to "/impressions/create?genre=male&glances=2"
Then the response should be JSON
And the response should contain "true"
@bzitzow
Copy link
Author

bzitzow commented Nov 13, 2012

Then I send a "GET" request to "/impressions"
And the response should be JSON
And the response should contain:
"""
{
'genre': 'male',
'glances': '2'
}
"""

@bzitzow
Copy link
Author

bzitzow commented Nov 13, 2012

Then I send a "GET" request to "/impressions"
And the response should be JSON
And the response should contain:
| genre | glances |
| male | 2 |

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