Merge pull request #485 from kawamoto/fix_missing_method

Fix missing method in deletion
This commit is contained in:
Ernesto Tagwerker 2017-05-09 10:25:00 -04:00 committed by GitHub
commit 4054ae6018

View file

@ -72,7 +72,7 @@ module DatabaseCleaner::ActiveRecord
INFORMATION_SCHEMA.TABLES
WHERE
table_schema = '#{db_name}'
AND table_name <> '#{migration_table_name}';
AND table_name <> '#{::DatabaseCleaner::ActiveRecord::Base.migration_table_name}';
SQL
end
end