Sha256: 70d9c9bffe33165f28ba5d145e85c3b89eae66f9f0322e9fce862861942cab58

Contents?: true

Size: 347 Bytes

Versions: 3

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true

require 'mongoid/version'
require 'database_cleaner-mongoid'

Mongoid.configure do |config|
  config.load!('test/support/mongoid.yml', Rails.env)
  config.use_utc = true
  config.include_root_in_json = true
end

DatabaseCleaner[:mongoid].strategy = :deletion
ORMInvalidRecordException = Mongoid::Errors::Validations

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
devise-security-0.18.0 test/orm/mongoid.rb
devise-security-0.17.0 test/orm/mongoid.rb
devise-security-0.16.0 test/orm/mongoid.rb