Sha256: 45c60ad1ca11eaaaa7f6084d4fd79b26b456876b736aafcd5ec5e2bafe7d2458

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 KB

Contents

Feature: Events API

  Background:
    Given I have "Github::Client::Issues::Events" instance

  Scenario: List for 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/events/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 for 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_number |
      | 61           |
    When I make request within a cassette named "issues/events/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

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

4 entries across 4 versions & 1 rubygems

Version Path
github_api-0.12.3 features/issues/events.feature
github_api-0.12.2 features/issues/events.feature
github_api-0.12.1 features/issues/events.feature
github_api-0.12.0 features/issues/events.feature