Sha256: 766bb832b6de07a76e3ab5ccdf138389b189d2ffeacb2753b4fa24f14bc41e15

Contents?: true

Size: 1.23 KB

Versions: 24

Compression:

Stored size: 1.23 KB

Contents

Feature: Events API

  Background:
    Given I have "Github::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_id |
      | 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   | event_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

24 entries across 24 versions & 1 rubygems

Version Path
github_api-0.8.6 features/issues/events.feature
github_api-0.8.5 features/issues/events.feature
github_api-0.8.4 features/issues/events.feature
github_api-0.8.3 features/issues/events.feature