these mongo2 files are only used in the mongoid adapter, so move them there.

This commit is contained in:
Micah Geisel 2018-12-21 22:37:48 -07:00
parent b83ed7d1e3
commit c3ac4ed3b7
2 changed files with 0 additions and 16 deletions

View file

@ -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