features/git_data/references.feature in github_api-0.5.1 vs features/git_data/references.feature in github_api-0.5.2
- old
+ new
@@ -10,32 +10,32 @@
Scenario: Lists all references on a repository
Given I want to list resources with the following params:
| user | repo |
| wycats | thor |
When I make request within a cassette named "git_data/references/all"
- Then the response should be "200"
- And the response type should be "JSON"
+ Then the response status should be 200
+ And the response type should be JSON
And the response should not be empty
Scenario: Lists all references on a repository scoped by branch
Given I want to list resources with the following params:
| user | repo |
| wycats | thor |
And I pass the following request options:
| ref |
| tags |
When I make request within a cassette named "git_data/references/all_tags"
- Then the response should be "200"
- And the response type should be "JSON"
+ Then the response status should be 200
+ And the response type should be JSON
And the response should not be empty
Scenario: Gets a single reference
Given I want to get resource with the following params:
| user | repo | ref |
| wycats | thor | heads/gh-pages |
When I make request within a cassette named "git_data/references/one"
- Then the response should be "200"
- And the response type should be "JSON"
+ Then the response status should be 200
+ And the response type should be JSON
And the response should not be empty
# Scenario: Create a reference
# Given I want to create resource with the following params:
# | user | repo |