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