Sha256: 12df521f6b62356443fd876a7a45d04d9b81c2e3febaa5394a66c0fd10e5c13d

Contents?: true

Size: 909 Bytes

Versions: 3

Compression:

Stored size: 909 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 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 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.5.1 features/gists/comments.feature
github_api-0.5.0 features/gists/comments.feature
github_api-0.5.0.rc1 features/gists/comments.feature