Sha256: ff395076a5ebf9c6404a288b1f74009fc9cac2094d26c453b4ea1e2844e768c0

Contents?: true

Size: 915 Bytes

Versions: 13

Compression:

Stored size: 915 Bytes

Contents

Feature: Accessing Gists Comments API
  In order to interact with github gist comments
  GithubAPI gem
  Should return the expected results depending on passed parameters

  Background:
    Given I have "Github::Gists::Comments" instance

  Scenario: Lists comments on a gist
    When I want to list resources with the following params:
      | gist_id |
      | 999390  |
      And I make request within a cassette named "gists/comments/all"
    Then the response status should be 200
      And the response type should be JSON
      And the response should have 18 items

  Scenario: Gets a single gist's comment
    When I want to get resource with the following params:
      | comment_id |
      | 33469      |
    And I make request within a cassette named "gists/comments/first"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
github_api-0.8.0 features/gists/comments.feature
github_api-0.7.2 features/gists/comments.feature
github_api-0.7.1 features/gists/comments.feature
github_api-0.7.0 features/gists/comments.feature
github_api-0.6.5 features/gists/comments.feature
github_api-0.6.4 features/gists/comments.feature
github_api-0.6.3 features/gists/comments.feature
github_api-0.6.2 features/gists/comments.feature
github_api-0.6.1 features/gists/comments.feature
github_api-0.6.0 features/gists/comments.feature
github_api-0.5.4 features/gists/comments.feature
github_api-0.5.3 features/gists/comments.feature
github_api-0.5.2 features/gists/comments.feature