Sha256: b60ad4e1dd1cea4ca66f04580d5fab577b4b811938642d4b5bac6c0421068dde

Contents?: true

Size: 889 Bytes

Versions: 16

Compression:

Stored size: 889 Bytes

Contents

Feature: Pull Requests API

  Background:
    Given I have "Github::PullRequests" instance

  Scenario: List

    Given I want to list resources with the following params:
      | user          | repo   |
      | peter-murach  | github |
      And I pass the following request options:
        | state  |
        | closed |
    When I make request within a cassette named "pull_requests/list"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: Get

    Given I want to get resource with the following params:
      | user          | repo   | request_id |
      | peter-murach  | github | 36         |
    When I make request within a cassette named "pull_requests/get"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
github_api-0.8.6 features/pull_requests.feature
github_api-0.8.5 features/pull_requests.feature
github_api-0.8.4 features/pull_requests.feature
github_api-0.8.3 features/pull_requests.feature
github_api-0.8.2 features/pull_requests.feature
github_api-0.8.1 features/pull_requests.feature
github_api-0.8.0 features/pull_requests.feature
github_api-0.7.2 features/pull_requests.feature
github_api-0.7.1 features/pull_requests.feature
github_api-0.7.0 features/pull_requests.feature
github_api-0.6.5 features/pull_requests.feature
github_api-0.6.4 features/pull_requests.feature
github_api-0.6.3 features/pull_requests.feature
github_api-0.6.2 features/pull_requests.feature
github_api-0.6.1 features/pull_requests.feature
github_api-0.6.0 features/pull_requests.feature