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
|
end
|
||||||
|
|
||||||
def strategy=(strategy)
|
def strategy=(strategy)
|
||||||
add_cleaner(:autodetect) if none?
|
|
||||||
values.each { |cleaner| cleaner.strategy = strategy }
|
values.each { |cleaner| cleaner.strategy = strategy }
|
||||||
remove_duplicates
|
remove_duplicates
|
||||||
end
|
end
|
||||||
|
|
||||||
def orm=(orm)
|
def orm=(orm)
|
||||||
add_cleaner(:autodetect) if none?
|
|
||||||
values.each { |cleaner| cleaner.orm = orm }
|
values.each { |cleaner| cleaner.orm = orm }
|
||||||
remove_duplicates
|
remove_duplicates
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue