Sha256: 6a5498945c833e020263c2b058e7e2b98d955c5ed8427dc33e4a3f77a7f2a442

Contents?: true

Size: 178 Bytes

Versions: 17

Compression:

Stored size: 178 Bytes

Contents

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

Version data entries

17 entries across 17 versions & 4 rubygems

Version Path
mongoid-rspec-4.2.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-4.1.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-4.0.1 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-4.0.0 lib/matchers/validations/acceptance_of.rb
mongoid-spec-4.0.1 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-3.0.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-2.2.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-2.1.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.13.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-2.0.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-2.0.0.rc1 lib/matchers/validations/acceptance_of.rb
glebtv-mongoid-rspec-3.0.0 lib/matchers/validations/acceptance_of.rb
mongoid4-rspec-1.11.0 lib/matchers/validations/acceptance_of.rb
glebtv-mongoid-rspec-1.12.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.11.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.10.0 lib/matchers/validations/acceptance_of.rb
mongoid-rspec-1.9.0 lib/matchers/validations/acceptance_of.rb