Sha256: 7f485f87c2c4fbb1ec63850e292d407a41b6cb126a5a566d6698ae1f64ad6787

Contents?: true

Size: 120 Bytes

Versions: 113

Compression:

Stored size: 120 Bytes

Contents

RSpec::Matchers.define :have_key_with_value do |key, expected|
  match do |actual|
    actual[key] == expected
  end
end

Version data entries

113 entries across 113 versions & 2 rubygems

Version Path
locomotivecms_steam-1.8.0.alpha2 spec/support/matchers/hash.rb
locomotivecms_steam-1.8.0.alpha1 spec/support/matchers/hash.rb
locomotivecms_steam-1.7.1 spec/support/matchers/hash.rb
locomotivecms_steam-1.7.0 spec/support/matchers/hash.rb
locomotivecms_steam-1.6.1 spec/support/matchers/hash.rb
locomotivecms_steam-1.6.0 spec/support/matchers/hash.rb
locomotivecms_steam-1.6.0.rc1 spec/support/matchers/hash.rb
locomotivecms_steam-1.6.0.beta1 spec/support/matchers/hash.rb
locomotivecms_steam-1.5.3 spec/support/matchers/hash.rb
locomotivecms_steam-1.5.2 spec/support/matchers/hash.rb
locomotivecms_steam-1.5.1 spec/support/matchers/hash.rb
locomotivecms_wagon-3.0.0 spec/support/matchers.rb
locomotivecms_steam-1.5.0 spec/support/matchers/hash.rb
locomotivecms_steam-1.5.0.rc1 spec/support/matchers/hash.rb
locomotivecms_wagon-3.0.0.rc0 spec/support/matchers.rb
locomotivecms_steam-1.5.0.rc0 spec/support/matchers/hash.rb
locomotivecms_wagon-3.0.0.beta2 spec/support/matchers.rb
locomotivecms_steam-1.5.0.beta3 spec/support/matchers/hash.rb
locomotivecms_steam-1.5.0.beta2 spec/support/matchers/hash.rb
locomotivecms_steam-1.5.0.beta1 spec/support/matchers/hash.rb