Sha256: ce1ae6364d6530b25681641710d2a57010d8f49e1bb6cd97e3fa0f1f186f3eeb

Contents?: true

Size: 956 Bytes

Versions: 4

Compression:

Stored size: 956 Bytes

Contents

Feature: Pull Requests Comments API

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

  Scenario: List in a repository

    Given I want to list resources with the following params:
      | user          | repo   |
      | peter-murach  | github |
    When I make request within a cassette named "pull_requests/comments/list_repo"
    Then the response status should be 200
      And the response type should be JSON
      And the response should have 4 items

  Scenario: List on a pull request

    Given I want to list resources with the following params:
      | user          | repo   |
      | peter-murach  | github |
      And I pass the following request options:
        | number |
        | 62     |
    When I make request within a cassette named "pull_requests/comments/list_pull"
    Then the response status should be 200
      And the response type should be JSON
      And the response should have 0 items

Version data entries

4 entries across 4 versions & 1 rubygems

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