Sha256: e61687c4840634b9047218445fc6d456902f0ff82ddd545214461924e736071a

Contents?: true

Size: 1.55 KB

Versions: 27

Compression:

Stored size: 1.55 KB

Contents

Feature: Watching API

  Background:
    Given I have "Github::Activity::Watching" instance

  Scenario: List

    Given I want to list resources with the following params:
      | user         | repo   |
      | peter-murach | github |
    When I make request within a cassette named "activity/watching/list"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: Watched

    Given I want to watched resources
      And I pass the following request options:
      | user   |
      | wycats |
    When I make request within a cassette named "activity/watching/watched"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: Watching

    Given I want to watching? resource with the following params:
      | user         | repo   |
      | peter-murach | github |
    When I make request within a cassette named "activity/watching/watching"
    Then the response should be false

  Scenario: Watch

    Given I want to watch resource with the following params:
      | user         | repo   |
      | peter-murach | github |
    When I make request within a cassette named "activity/watching/watch"
    Then the response status should be 204

  Scenario: Unwatch

    Given I want to unwatch resource with the following params:
      | user         | repo   |
      | peter-murach | github |
    When I make request within a cassette named "activity/watching/unwatch"
    Then the response status should be 204

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
github_api-0.11.3 features/activity/watching.feature
github_api-0.11.2 features/activity/watching.feature
github_api-0.11.1 features/activity/watching.feature
github_api-0.11.0 features/activity/watching.feature
github_api-0.10.2 features/activity/watching.feature
github_api-0.10.1 features/activity/watching.feature
github_api-0.10.0 features/activity/watching.feature
github_api-0.9.7 features/activity/watching.feature
github_api-0.9.6 features/activity/watching.feature
github_api-0.9.5 features/activity/watching.feature
github_api-0.9.4 features/activity/watching.feature
github_api-0.9.3 features/activity/watching.feature
github_api-0.9.2 features/activity/watching.feature
github_api-0.9.1 features/activity/watching.feature
github_api-0.9.0 features/activity/watching.feature
github_api-0.8.11 features/activity/watching.feature
github_api-0.8.10 features/activity/watching.feature
github_api-0.8.9 features/activity/watching.feature
github_api-0.8.8 features/activity/watching.feature
github_api-0.8.7 features/activity/watching.feature