Sha256: f2cacde7ac7d3caf5d1ed22a793d1bc3c3a5e59653794ac8e6bfa72dea490fe2

Contents?: true

Size: 173 Bytes

Versions: 13

Compression:

Stored size: 173 Bytes

Contents

module Mongoid
  module Matchers
    module Validations
      def validate_presence_of(field)
        HaveValidationMatcher.new(field, :presence)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 4 rubygems

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