Skip to content

Commit

Permalink
VCR is a bastard
Browse files Browse the repository at this point in the history
  • Loading branch information
pikesley committed Oct 26, 2016
1 parent ee6e153 commit 1afd9b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/json.feature
Expand Up @@ -19,7 +19,7 @@ Feature: Get JSON
Scenario: Get JSON for pictures
When I send a GET request to "/pictures"
Then the response status should be "200"
And the JSON response should have "$.[0]['title']" with the text "Cafe 1001, March 2016"
And the JSON response should have "$.[0]['title']" with the text "New Cross Inn"
And the JSON response should have "$.[2]['license']['type']" with the text "Attribution-NonCommercial-ShareAlike"

Scenario: Get JSON for videos
Expand All @@ -30,7 +30,7 @@ Feature: Get JSON
Scenario: Get JSON for sounds
When I send a GET request to "/sounds"
Then the response status should be "200"
And the JSON response should have "$.[4]['url']" with the text "http://soundcloud.com/rawfunkmaharishi/plimsole"
And the JSON response should have "$.[4]['url']" with the text "http://soundcloud.com/rawfunkmaharishi/made-in-hong-kong"

Scenario: Get JSON for photographers
When I send a GET request to "/photographers"
Expand Down

0 comments on commit 1afd9b2

Please sign in to comment.