delete last remnant of removed ORM autodetection system.

This commit is contained in:
Micah Geisel 2020-04-05 14:07:38 -07:00
parent 64e3945861
commit ff86a4fa19

View file

@ -14,13 +14,11 @@ module DatabaseCleaner
end
def strategy=(strategy)
add_cleaner(:autodetect) if none?
values.each { |cleaner| cleaner.strategy = strategy }
remove_duplicates
end
def orm=(orm)
add_cleaner(:autodetect) if none?
values.each { |cleaner| cleaner.orm = orm }
remove_duplicates
end