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.8.6 features/error_codes.feature
github_api-0.8.5 features/error_codes.feature
github_api-0.8.4 features/error_codes.feature
github_api-0.8.3 features/error_codes.feature
github_api-0.8.2 features/error_codes.feature
github_api-0.8.1 features/error_codes.feature
github_api-0.8.0 features/error_codes.feature
github_api-0.7.2 features/error_codes.feature
github_api-0.7.1 features/error_codes.feature
github_api-0.7.0 features/error_codes.feature
github_api-0.6.5 features/error_codes.feature
github_api-0.6.4 features/error_codes.feature
github_api-0.6.3 features/error_codes.feature
github_api-0.6.2 features/error_codes.feature
github_api-0.6.1 features/error_codes.feature
github_api-0.6.0 features/error_codes.feature
github_api-0.5.4 features/error_codes.feature
github_api-0.5.3 features/error_codes.feature
github_api-0.5.2 features/error_codes.feature
github_api-0.5.1 features/error_codes.feature