Sha256: da7a746cbcca3c4163125fd2efec554cff824c1290cc4458e51a835bd425a1f6

Contents?: true

Size: 513 Bytes

Versions: 40

Compression:

Stored size: 513 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
    And I am not authorized
    When I want to create resource
      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

40 entries across 40 versions & 1 rubygems

Version Path
github_api-0.11.3 features/error_codes.feature
github_api-0.11.2 features/error_codes.feature
github_api-0.11.1 features/error_codes.feature
github_api-0.11.0 features/error_codes.feature
github_api-0.10.2 features/error_codes.feature
github_api-0.10.1 features/error_codes.feature
github_api-0.10.0 features/error_codes.feature
github_api-0.9.7 features/error_codes.feature
github_api-0.9.6 features/error_codes.feature
github_api-0.9.5 features/error_codes.feature
github_api-0.9.4 features/error_codes.feature
github_api-0.9.3 features/error_codes.feature
github_api-0.9.2 features/error_codes.feature
github_api-0.9.1 features/error_codes.feature
github_api-0.9.0 features/error_codes.feature
github_api-0.8.11 features/error_codes.feature
github_api-0.8.10 features/error_codes.feature
github_api-0.8.9 features/error_codes.feature
github_api-0.8.8 features/error_codes.feature
github_api-0.8.7 features/error_codes.feature