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-1.1.1 spec/support/custom_matchers.rb
rest-assured-1.1.0 spec/support/custom_matchers.rb
rest-assured-1.0.0 spec/support/custom_matchers.rb
rest-assured-1.0.0.rc2 spec/support/custom_matchers.rb
rest-assured-1.0.0.rc1 spec/support/custom_matchers.rb
rest-assured-0.3.2 spec/custom_matchers.rb
rest-assured-0.3.1 spec/custom_matchers.rb
rest-assured-0.3.0 spec/custom_matchers.rb
rest-assured-0.2.0 spec/custom_matchers.rb
rest-assured-0.2.0.rc8 spec/custom_matchers.rb
rest-assured-0.2.0.rc7 spec/custom_matchers.rb
rest-assured-0.2.0.rc5 spec/custom_matchers.rb