Sha256: 1a403068a0430386e7c05fcf385cc74776569b961514be154f7dff8426a4f575

Contents?: true

Size: 1.57 KB

Versions: 4

Compression:

Stored size: 1.57 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::Client::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::Client::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::Client::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

4 entries across 4 versions & 1 rubygems

Version Path
github_api-0.12.3 features/arguments_parsing.feature
github_api-0.12.2 features/arguments_parsing.feature
github_api-0.12.1 features/arguments_parsing.feature
github_api-0.12.0 features/arguments_parsing.feature