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