Class: Mongoid::Config
- Inherits:
-
Object
- Object
- Mongoid::Config
- Defined in:
- lib/mongoid_rails_fixtures/mongoid_ext/mongoid_ext.rb
Overview
:nodoc
Instance Attribute Summary collapse
-
#delete_existing_fixtures_before_create ⇒ Object
current rails behavior is to delete existing fixtures before create.
-
#migrate_before_tests ⇒ Object
current rails behavior is to not migrate before tests.
Instance Attribute Details
#delete_existing_fixtures_before_create ⇒ Object
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_tests ⇒ Object
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 |