features/pull_requests/comments.feature in github_api-0.11.3 vs features/pull_requests/comments.feature in github_api-0.12.0
- old
+ new
@@ -1,27 +1,27 @@
Feature: Pull Requests Comments API
Background:
- Given I have "Github::PullRequests::Comments" instance
+ Given I have "Github::Client::PullRequests::Comments" instance
Scenario: List in a repository
Given I want to list resources with the following params:
| user | repo |
| peter-murach | github |
When I make request within a cassette named "pull_requests/comments/list_repo"
Then the response status should be 200
And the response type should be JSON
- And the response should have 0 items
+ And the response should have 4 items
Scenario: List on a pull request
Given I want to list resources with the following params:
| user | repo |
| peter-murach | github |
And I pass the following request options:
- | request_id |
- | 62 |
+ | number |
+ | 62 |
When I make request within a cassette named "pull_requests/comments/list_pull"
Then the response status should be 200
And the response type should be JSON
And the response should have 0 items