Sha256: ce31fbc9d12d3491ee14a93305ef7b866486cd3142092258a42fbc062dab8420

Contents?: true

Size: 906 Bytes

Versions: 8

Compression:

Stored size: 906 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" instance

  Scenario: Lists comments on a gist
    When I am looking for "comments" 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 am looking for "comment" 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

8 entries across 8 versions & 1 rubygems

Version Path
github_api-0.4.11 features/gists/comments.feature
github_api-0.4.10 features/gists/comments.feature
github_api-0.4.9 features/gists/comments.feature
github_api-0.4.8 features/gists/comments.feature
github_api-0.4.7 features/gists/comments.feature
github_api-0.4.6 features/gists/comments.feature
github_api-0.4.5 features/gists/comments.feature
github_api-0.4.4 features/gists/comments.feature