Class: Mongoid::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/mongoid_rails_fixtures/mongoid_ext/mongoid_ext.rb

Overview

:nodoc

Instance Attribute Summary collapse

Instance Attribute Details

#delete_existing_fixtures_before_createObject

current rails behavior is to delete existing fixtures before create



8
9
10
# File 'lib/mongoid_rails_fixtures/mongoid_ext/mongoid_ext.rb', line 8

def delete_existing_fixtures_before_create
  @delete_existing_fixtures_before_create
end

#migrate_before_testsObject

current rails behavior is to not migrate before tests



6
7
8
# File 'lib/mongoid_rails_fixtures/mongoid_ext/mongoid_ext.rb', line 6

def migrate_before_tests
  @migrate_before_tests
end