mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Change comment to reflect new migration table name method.
This commit is contained in:
parent
a2f3faf132
commit
33bd61c277
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ module DatabaseCleaner
|
|||
Truncation.new.clean
|
||||
end
|
||||
|
||||
it "should use ActiveRecord's schema_migrations_table_name" do
|
||||
it "should use ActiveRecord's SchemaMigration.table_name" do
|
||||
connection.stub(:database_cleaner_table_cache).and_return(%w[pre_schema_migrations_suf widgets dogs])
|
||||
::ActiveRecord::Base.stub(:table_name_prefix).and_return('pre_')
|
||||
::ActiveRecord::Base.stub(:table_name_suffix).and_return('_suf')
|
||||
|
|
Loading…
Reference in a new issue