Sha256: 27ce2afbf2096938f996f1e8b18d8abbb2a3bead7e0030d846331318a1bb030b

Contents?: true

Size: 562 Bytes

Versions: 2

Compression:

Stored size: 562 Bytes

Contents

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

require 'mongoid'
require 'rspec'
require 'matchers/document'
require 'matchers/associations'
require 'matchers/validations'
require 'matchers/validations/associated'
require 'matchers/validations/format_of'
require 'matchers/validations/inclusion_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

2 entries across 2 versions & 1 rubygems

Version Path
mongoid-rspec-1.2.1 lib/mongoid-rspec.rb
mongoid-rspec-1.2.0 lib/mongoid-rspec.rb