Sha256: 1c3a80c0cd3d7a5e6348a78581a42e8ea85bee2226bebef8eab8c517d3b58b92
Contents?: true
Size: 384 Bytes
Versions: 12
Compression:
Stored size: 384 Bytes
Contents
module Helpers module HashHelpers # :nocov: def assert_hash_contains(exp, act, msg = nil) msg = message(msg, '') { diff exp, act } assert(matches_hash?(exp, act), msg) end def assert_hash_equals(exp, act, msg = nil) msg = message(msg, '') { diff exp, act } assert(matches_hash?(exp, act, {exact: true}), msg) end # :nocov: end end
Version data entries
12 entries across 12 versions & 1 rubygems