Sha256: 3db2ab5fc706087b479a36944626d48f367c2b5864374ccef52a14865a13f637
Contents?: true
Size: 521 Bytes
Versions: 4
Compression:
Stored size: 521 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::Client::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
4 entries across 4 versions & 1 rubygems