features/git_data/references.feature in github_api-0.11.3 vs features/git_data/references.feature in github_api-0.12.0
- old
+ new
@@ -3,36 +3,36 @@
In order to interact with github git data references
GithubAPI gem
Should return the expected results depending on passed parameters
Background:
- Given I have "Github::GitData::References" instance
+ Given I have "Github::Client::GitData::References" instance
Scenario: Lists all references on a repository
Given I want to list resources with the following params:
- | user | repo |
- | wycats | thor |
+ | user | repo |
+ | peter-murach | finite_machine |
When I make request within a cassette named "git_data/references/all"
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 |
+ | user | repo |
+ | peter-murach | finite_machine |
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 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 |
+ | user | repo | ref |
+ | peter-murach | tty | heads/gh-pages |
When I make request within a cassette named "git_data/references/one"
Then the response status should be 200
And the response type should be JSON
And the response should not be empty