Sha256: e1a547f592b8d51bb628e307733ffd80b7797cd15e875490f93bab9ba85fa966
Contents?: true
Size: 409 Bytes
Versions: 7
Compression:
Stored size: 409 Bytes
Contents
module APIMatchers module HTTPStatusCode class BeUnauthorized < Base def expected_status_code 401 end def failure_message_for_should %Q{expected that '#{@http_status_code}' to be Unauthorized with the status '401'.} end def failure_message_for_should_not %Q{expected that '#{@http_status_code}' to NOT be Unauthorized.} end end end end
Version data entries
7 entries across 7 versions & 1 rubygems