Sha256: b80626052484e10e4b3ebe53a4c2eeb10f0f1f8c098ff193015b6a341c15050a
Contents?: true
Size: 528 Bytes
Versions: 6
Compression:
Stored size: 528 Bytes
Contents
RSpec::Matchers.define :be_correctly_sent do match do |actual| actual.class == Rack::MockResponse end description do "be a valid HTTP verb request with a valid response return" end failure_message do |actual| "expected this HTTP verb request to return a valid response, \nneed : Rack::MockResponse \ngot : #{actual.class}" end failure_message_when_negated do |actual| "expected this HTTP verb request to not return a valid response, \nneed : Rack::MockResponse \ngot : #{actual.class}" end end
Version data entries
6 entries across 6 versions & 1 rubygems