Sha256: be30f160b86d009becaa8c0944d31c8fe880bb728198c0d3ae94f1f7220244e1

Contents?: true

Size: 1.54 KB

Versions: 27

Compression:

Stored size: 1.54 KB

Contents

Feature: Starring API

  Background:
    Given I have "Github::Activity::Starring" 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/starring/list"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: Starred

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

  Scenario: Starring

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

  Scenario: Star

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

  Scenario: Unstar

    Given I want to unstar resource with the following params:
      | user         | repo   |
      | peter-murach | github |
    When I make request within a cassette named "activity/starring/unstar"
    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/starring.feature
github_api-0.11.2 features/activity/starring.feature
github_api-0.11.1 features/activity/starring.feature
github_api-0.11.0 features/activity/starring.feature
github_api-0.10.2 features/activity/starring.feature
github_api-0.10.1 features/activity/starring.feature
github_api-0.10.0 features/activity/starring.feature
github_api-0.9.7 features/activity/starring.feature
github_api-0.9.6 features/activity/starring.feature
github_api-0.9.5 features/activity/starring.feature
github_api-0.9.4 features/activity/starring.feature
github_api-0.9.3 features/activity/starring.feature
github_api-0.9.2 features/activity/starring.feature
github_api-0.9.1 features/activity/starring.feature
github_api-0.9.0 features/activity/starring.feature
github_api-0.8.11 features/activity/starring.feature
github_api-0.8.10 features/activity/starring.feature
github_api-0.8.9 features/activity/starring.feature
github_api-0.8.8 features/activity/starring.feature
github_api-0.8.7 features/activity/starring.feature