File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 55describe 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\" "
You can’t perform that action at this time.
0 commit comments