Sha256: ac08c3c0cdc51e1a0dd66b58023ed3643447216f2c5234727abc6217330b2b40

Contents?: true

Size: 681 Bytes

Versions: 3

Compression:

Stored size: 681 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'mongoid'
require 'rspec'
require 'matchers/document'
require 'matchers/associations'
require 'matchers/collections'
require 'matchers/validations'
require 'matchers/validations/associated'
require 'matchers/validations/confirmation_of'
require 'matchers/validations/format_of'
require 'matchers/validations/inclusion_of'
require 'matchers/validations/length_of'
require 'matchers/validations/numericality_of'
require 'matchers/validations/presence_of'
require 'matchers/validations/uniqueness_of'

module Mongoid
  module Matchers
    include Mongoid::Matchers::Associations
    include Mongoid::Matchers::Validations
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongoid-rspec-1.4.4 lib/mongoid-rspec.rb
mongoid-rspec-1.4.3 lib/mongoid-rspec.rb
mongoid-rspec-1.4.2 lib/mongoid-rspec.rb