Sha256: 18df89b7fd9f9f95d6846264f878c7c2ec9b45a5edc255512d1426f2c68a4a3a

Contents?: true

Size: 182 Bytes

Versions: 13

Compression:

Stored size: 182 Bytes

Contents

module Mongoid
  module Matchers
    module Validations  
      def validate_acceptance_of(field)
        HaveValidationMatcher.new(field, :acceptance)
      end
    end
  end
end  

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
mongoid-rspec-1.8.2 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.8.1 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.8.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.7.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.6.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.5.6 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.5.5 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.5.4 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.5.3 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.5.1 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.5.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.4.6 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.4.5 lib/matchers/validations/acceptance_of.rb