Module: DatabaseCleaner::Mongoid::Base
Instance Method Summary collapse
Methods included from Generic::Base
Instance Method Details
#db ⇒ Object
15 16 17 |
# File 'lib/database_cleaner/mongoid/base.rb', line 15 def db @db || :default end |
#db=(desired_db) ⇒ Object
11 12 13 |
# File 'lib/database_cleaner/mongoid/base.rb', line 11 def db=(desired_db) @db = desired_db end |