Sha256: c35098425aa09e5ba3464a90998b12fb5925667625a408cc8ed7ca2c18be1252

Contents?: true

Size: 483 Bytes

Versions: 2

Compression:

Stored size: 483 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::Unauthorised" within a cassette named "errors/repos/create"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github_api-0.4.4 features/error_codes.feature
github_api-0.4.3 features/error_codes.feature