Sha256: 1c62191b0b923a927f1deaa46721fb092f1dfe1bf247d71db73af9b88028564f

Contents?: true

Size: 174 Bytes

Versions: 15

Compression:

Stored size: 174 Bytes

Contents

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

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
mongoid-rspec-4.2.0 lib/matchers/validations/presence_of.rb
mongoid-rspec-4.1.0 lib/matchers/validations/presence_of.rb
mongoid-rspec-4.0.1 lib/matchers/validations/presence_of.rb
mongoid-rspec-4.0.0 lib/matchers/validations/presence_of.rb
mongoid-minitest-0.1.5 lib/matchers/validations/presence.rb
mongoid-minitest-0.1.4 lib/matchers/validations/presence.rb
mongoid-minitest-0.1.3 lib/matchers/validations/presence.rb
mongoid-minitest-0.1.3.pre lib/matchers/validations/presence.rb
mongoid-minitest-0.1.2 lib/matchers/validations/presence.rb
mongoid-minitest-0.1.1 lib/matchers/validations/presence.rb
mongoid-minitest-0.1.0 lib/matchers/validations/presence.rb
mongoid-minitest-0.0.3.1 lib/matchers/validations/presence.rb
mongoid-minitest-0.0.3 lib/matchers/validations/presence.rb
mongoid-minitest-0.0.2 lib/matchers/validations/presence_of.rb
mongoid-minitest-0.0.1 lib/matchers/validations/presence_of.rb