Sha256: f9d7de78a2615b4e165a10b2e7fca23d3eb9e13d16631fde6d7c212418041799

Contents?: true

Size: 943 Bytes

Versions: 4

Compression:

Stored size: 943 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::Client::Gists::Comments" instance

  Scenario: Lists comments on a gist
    When I want to list resources with the following params:
      | gist_id |
      | 701407  |
      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 30 items

  Scenario: Gets a single gist's comment
    When I want to get resource with the following params:
      | gist_id | comment_id |
      | 701407  | 66128      |
    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

4 entries across 4 versions & 1 rubygems

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