Sha256: 17586986d4af782b6414b58c37da1d953c858fd3db8bfea258e9ef963fef7075
Contents?: true
Size: 1.49 KB
Versions: 9
Compression:
Stored size: 1.49 KB
Contents
Feature: Github API auto pagination The gem permits to auto paginate resources. Scenario: Passing auto_pagionation param to request Given I have "Github::Repos" instance When I want to list resources And I pass the following request options: | user | per_page | auto_pagination | | wycats | 45 | true | And I make request within a cassette named "auto_pagination/repos/list" Then the response status should be 200 And the response type should be JSON And the response should have 134 items Scenario: Passing auto_pagionation param to instances Given I have "Github::Repos" instance And I pass the following request options: | user | per_page | auto_pagination | | wycats | 100 | true | When I want to list resources And I make request within a cassette named "auto_pagination/repos/global_list" Then the response status should be 200 And the response type should be JSON And the response should have 134 items Scenario: Paginating single resource Given I have "Github::Repos" instance And I pass the following request options: | user | repo | auto_pagination | | wycats | thor | true | When I want to get resource And I make request within a cassette named "auto_pagination/repos/get" Then the response status should be 200 And the response type should be JSON And the response body name should be thor
Version data entries
9 entries across 9 versions & 1 rubygems