mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
delete last remnant of removed ORM autodetection system.
This commit is contained in:
parent
64e3945861
commit
ff86a4fa19
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue