Sha256: 4578a4568ae3c1f7dcd88399b9ef1342f5ac4a452a5fa01ee8f278bb82f866b8

Contents?: true

Size: 1.27 KB

Versions: 3

Compression:

Stored size: 1.27 KB

Contents

Feature: Issues Comments API

  Background:
    Given I have "Github::Issues::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 "issues/comments/list_repo"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: List on an issue

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

  Scenario: Get a single comment

    Given I want to get resource with the following params:
      | user         | repo   | comment_id |
      | peter-murach | github | 10321836   |
    When I make request within a cassette named "issues/comments/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

3 entries across 3 versions & 1 rubygems

Version Path
github_api-0.8.4 features/issues/comments.feature
github_api-0.8.3 features/issues/comments.feature
github_api-0.8.2 features/issues/comments.feature