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