Skip to content

Commit a194ce6

Browse files
committed
Fix tests to use new activity scope.
1 parent 9b2421c commit a194ce6

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

features/github_api.feature

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ Feature: Github API components
4949
When I fetch "users"
5050
Then I will have access to "Github::Users" API
5151

52-
Scenario: Accessing users API
52+
Scenario: Accessing activity API
5353
Given I have github instance
54-
When I fetch "events"
55-
Then I will have access to "Github::Events" API
54+
When I fetch "activity"
55+
Then I will have access to "Github::Activity" API
5656

5757
Scenario: Accessing authorizations API
5858
Given I have github instance

spec/github/result_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
describe Github::Result do
66
let(:github) { Github.new }
77
let(:user) { 'wycats' }
8-
let(:res) { github.events.public({ 'per_page' => 20 }) }
8+
let(:res) { github.activity.events.public({ 'per_page' => 20 }) }
99
let(:pages) { ['1', '5', '6'] }
1010
let(:link) {
1111
"<https://api.github.com/users/wycats/repos?page=6&per_page=20>; rel=\"last\", <https://api.github.com/users/wycats/repos?page=1&per_page=20>; rel=\"first\""

0 commit comments

Comments
 (0)