Sha256: c6a91157eb7147570c29b0dfeec88689bb3ff52ae95f2fe4109c8bd36c9b9258
Contents?: true
Size: 601 Bytes
Versions: 3
Compression:
Stored size: 601 Bytes
Contents
module APIMatchers module HTTPStatusCode class BeInternalServerError < Base def expected_status_code 500 end def failure_message %Q{expected that '#{@http_status_code}' to be Internal Server Error with the status '500'.} end def failure_message_when_negated %Q{expected that '#{@http_status_code}' to NOT be Internal Server Error.} end # RSpec 2 compatibility: alias_method :failure_message_for_should, :failure_message alias_method :failure_message_for_should_not, :failure_message_when_negated end end end
Version data entries
3 entries across 3 versions & 1 rubygems