Sha256: 5e9d00edef6c200f8a0f1c20aff1c9cd48b5966d3327b74ab451647789132fc4

Contents?: true

Size: 168 Bytes

Versions: 32

Compression:

Stored size: 168 Bytes

Contents

RSpec::Matchers.define :validate_inclusion_of do |field, list|
  match do |actual|
    list.each do |i|
      actual.should allow_value(i).for(field)
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
rest-assured-4.0.0 spec/support/custom_matchers.rb
rest-assured-3.0.1 spec/support/custom_matchers.rb
rest-assured-3.0.0 spec/support/custom_matchers.rb
rest-assured-2.2.0 spec/support/custom_matchers.rb
rest-assured-2.1.0 spec/support/custom_matchers.rb
rest-assured-2.0.2 spec/support/custom_matchers.rb
rest-assured-2.0.1 spec/support/custom_matchers.rb
rest-assured-2.0.0 spec/support/custom_matchers.rb
rest-assured-1.2.2 spec/support/custom_matchers.rb
rest-assured-1.2.1 spec/support/custom_matchers.rb
rest-assured-1.2.0 spec/support/custom_matchers.rb
rest-assured-1.1.10 spec/support/custom_matchers.rb
rest-assured-1.1.9 spec/support/custom_matchers.rb
rest-assured-1.1.8 spec/support/custom_matchers.rb
rest-assured-1.1.7 spec/support/custom_matchers.rb
rest-assured-1.1.6 spec/support/custom_matchers.rb
rest-assured-1.1.5 spec/support/custom_matchers.rb
rest-assured-1.1.4 spec/support/custom_matchers.rb
rest-assured-1.1.3 spec/support/custom_matchers.rb
rest-assured-1.1.2 spec/support/custom_matchers.rb