Sha256: 6257db436fa7c7dcfae29b8690bd7d603ddd6aba8f802b6dcee7d170189c7b00
Contents?: true
Size: 346 Bytes
Versions: 2
Compression:
Stored size: 346 Bytes
Contents
RSpec::Matchers.define :match do |value| match do |matcher| @matcher = matcher matcher.matches?(value) end description do "match #{value}" end failure_message do "expect #{@matcher} to match #{value} but did not" end failure_message_when_negated do "expect #{@matcher} to not match #{value} but did" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
warp-1.0.1 | spec/support/match_helpers.rb |
warp-1.0.0 | spec/support/match_helpers.rb |