Sha256: d814996cb85beee1edc8c23d474c4485810798fdc267329a80c1324212d33173
Contents?: true
Size: 411 Bytes
Versions: 1
Compression:
Stored size: 411 Bytes
Contents
RSpec::Matchers.define :be_equal_to do |expected| match do |actual| actual[expected] == expected end description do %(be "#{expected}") end failure_message do |actual| "expected that #{actual} would be #{expected}" end failure_message_when_negated do |actual| "expected that #{actual} would not be #{expected}" end end RSpec::Matchers.alias_matcher :have_value, :be_equal_to
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-cloud-core-0.1.0 | lib/rspec/cloud/core/matchers/be_equal_to.rb |