Sha256: 78664625cbcc81954f0e04ea3ff56c693fe576d5da4115500b6009b70575e99a
Contents?: true
Size: 273 Bytes
Versions: 1
Compression:
Stored size: 273 Bytes
Contents
RSpec::Matchers.define :match_message_table do |expected| match do |messages| actual = messages.collect do |msg| expected.headers.inject({}) do |memo, obj| memo[obj] = msg.send(obj) memo end end actual == expected.hashes end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
message-driver-0.1.0 | features/support/message_table_matcher.rb |