Sha256: bc89ec6b2c7a2047a7c7be8bd78a31edcb88bcb835cc17b62ddcd19522d966f5

Contents?: true

Size: 952 Bytes

Versions: 25

Compression:

Stored size: 952 Bytes

Contents

Feature: Users API

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

25 entries across 25 versions & 1 rubygems

Version Path
github_api-0.8.6 features/users.feature
github_api-0.8.5 features/users.feature
github_api-0.8.4 features/users.feature
github_api-0.8.3 features/users.feature
github_api-0.8.2 features/users.feature