Sha256: 2fc6078b41fc8b56947d99ec2048c4811a877ec151375985f2c26c9691e976e6
Contents?: true
Size: 190 Bytes
Versions: 7
Compression:
Stored size: 190 Bytes
Contents
# Example: # it { should have_received(:new).with(array_with_key(:name)) } RSpec::Matchers.define :array_with_key do |expected| match do |actual| actual.has_key?(expected) end end
Version data entries
7 entries across 7 versions & 1 rubygems