Sha256: 25711bac1d8cf7dc5e4b14e06a32bd4a02bf2a8cda1e07923bebbe4a184b00b9

Contents?: true

Size: 490 Bytes

Versions: 7

Compression:

Stored size: 490 Bytes

Contents

Feature: Handles HTTP error codes

  In order to handle error cases accordingly
  As a developer
  I want to be informed of non-successful responses

  Scenario: A response of '401 - Unauthorised access'
    Given I have "Github::Repos" instance
    When I am looking for "create_repo"
      And I pass the following request options:
        | name       |
        | basic_auth |
    Then request should fail with "Github::Error::Unauthorized" within a cassette named "errors/repos/create"

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
github_api-0.4.11 features/error_codes.feature
github_api-0.4.10 features/error_codes.feature
github_api-0.4.9 features/error_codes.feature
github_api-0.4.8 features/error_codes.feature
github_api-0.4.7 features/error_codes.feature
github_api-0.4.6 features/error_codes.feature
github_api-0.4.5 features/error_codes.feature