Sha256: dea1957996397de237990bf61bd61e78fc0fd8ea72b1e38ae7fa4ab1365bf956

Contents?: true

Size: 960 Bytes

Versions: 4

Compression:

Stored size: 960 Bytes

Contents

Feature: Users API

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

  Scenario: List all users

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

  Scenario: Get authenticated user

    Given I want to get resource
    When I make request within a cassette named "users/get/oauth"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: Get unauthenticated user

    Given I want to get resource
    And I pass the following request options:
      | user         |
      | peter-murach |
    When I make request within a cassette named "users/get/user"
    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/users.feature
github_api-0.12.2 features/users.feature
github_api-0.12.1 features/users.feature
github_api-0.12.0 features/users.feature