Sha256: 4eb46f43185c9828720b7bbf5b44abd8053a405aeb71dbff68f6de1ccfa391b4

Contents?: true

Size: 980 Bytes

Versions: 4

Compression:

Stored size: 980 Bytes

Contents

Feature: Organizations API

  Background:
    Given I have "Github::Client::Orgs" instance

  Scenario: List for the user

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

  Scenario: List for the authenticated user

    Given I want to list resources
    When I make request within a cassette named "orgs/list/oauth_user"
    Then the response status should be 200
      And the response type should be JSON

  Scenario: Get

    Given I want to get resource with the following params:
      | org_name |
      | github   |
    When I make request within a cassette named "orgs/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/orgs.feature
github_api-0.12.2 features/orgs.feature
github_api-0.12.1 features/orgs.feature
github_api-0.12.0 features/orgs.feature