Created
November 13, 2012 23:42
-
-
Save bzitzow/4069192 to your computer and use it in GitHub Desktop.
This file contains 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
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" |
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
Then I send a "GET" request to "/impressions"
And the response should be JSON
And the response should contain:
"""
{
'genre': 'male',
'glances': '2'
}
"""