these mongo2 files are only used in the mongoid adapter, so move them there.
This commit is contained in:
parent
b83ed7d1e3
commit
c3ac4ed3b7
|
@ -1,16 +0,0 @@
|
|||
module DatabaseCleaner
|
||||
module Mongo2
|
||||
def self.available_strategies
|
||||
%w[truncation]
|
||||
end
|
||||
module Base
|
||||
def db=(desired_db)
|
||||
@db = desired_db
|
||||
end
|
||||
|
||||
def db
|
||||
@db || raise("You have not specified a database. (see Mongo2::Database)")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue