Sha256: 3be9e2a21a985d137a9f5b2aa5e01084faecd3b930c261cd4ccbdeea48cb87ac

Contents?: true

Size: 1.55 KB

Versions: 12

Compression:

Stored size: 1.55 KB

Contents

Feature: Github API arguments parsing

  The gem permits flexible arguments parsing, which means, the arguments can 
  be passed in as values or named hash key parameters. Properties are dynamically
  assigned when executing requests.

  Scenario: Invoking multiple calls for organization information

    Given I have "Github::Orgs" instance
    When I want to get resource with the following arguments:
      | org        |
      | thoughtbot |
      And I make request within a cassette named "arguments/orgs/get"
      And I make request within a cassette named "arguments/orgs/get"
    Then the response status should be 200

  Scenario: Invoking multiple calls for repository commits

    Given I have "Github::Repos::Commits" instance
    When I want to get resource with the following arguments:
      | user     | repo     | sha                                      |
      | rubinius | rubinius | 7ac2bd74e8b6f16362fb3b7e6f3d139c48bb1c12 |
      And I make request within a cassette named "arguments/repo_commits/get"
      And I make request within a cassette named "arguments/repo_commits/get"
    Then the response status should be 200

  Scenario: Invoking multiple calls for fetching pull request

    Given I have "Github::PullRequests" instance
    When I want to get resource with the following arguments:
      | user     | repo     | number |
      | rubinius | rubinius | 2193   |
      And I make request within a cassette named "arguments/pulls/get"
      And I make request within a cassette named "arguments/pulls/get"
    Then the response status should be 200

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
github_api-0.11.3 features/arguments_parsing.feature
github_api-0.11.2 features/arguments_parsing.feature
github_api-0.11.1 features/arguments_parsing.feature
github_api-0.11.0 features/arguments_parsing.feature
github_api-0.10.2 features/arguments_parsing.feature
github_api-0.10.1 features/arguments_parsing.feature
github_api-0.10.0 features/arguments_parsing.feature
github_api-0.9.7 features/arguments_parsing.feature
github_api-0.9.6 features/arguments_parsing.feature
github_api-0.9.5 features/arguments_parsing.feature
github_api-0.9.4 features/arguments_parsing.feature
github_api-0.9.3 features/arguments_parsing.feature