mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Merge pull request #203 from sanemat/feature/cucumer-mongoid
Use mongoid connection instead of Mongo gem
This commit is contained in:
commit
9e164c4513
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ require 'mongoid'
|
|||
|
||||
Mongoid.configure do |config|
|
||||
name = 'database_cleaner_test'
|
||||
config.master = Mongo::Connection.new.db(name)
|
||||
config.connect_to(name)
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue