features/issues/events.feature in github_api-0.11.3 vs features/issues/events.feature in github_api-0.12.0
- old
+ new
@@ -1,9 +1,9 @@
Feature: Events API
Background:
- Given I have "Github::Issues::Events" instance
+ Given I have "Github::Client::Issues::Events" instance
Scenario: List for a repository
Given I want to list resources with the following params:
| user | repo |
@@ -17,20 +17,20 @@
Given I want to list resources with the following params:
| user | repo |
| peter-murach | github |
And I pass the following request options:
- | issue_id |
- | 61 |
+ | issue_number |
+ | 61 |
When I make request within a cassette named "issues/events/list_issue"
Then the response status should be 200
And the response type should be JSON
And the response should not be empty
Scenario: Get
Given I want to get resource with the following params:
- | user | repo | event_id |
+ | user | repo | id |
| peter-murach | github | 29376722 |
When I make request within a cassette named "issues/events/get"
Then the response status should be 200
And the response type should be JSON
And the response should not be empty