提交 4b2889e7 编写于 作者: B Ben Orenstein 提交者: Santiago Pastorino

Correct migration name the test is looking to match.

[#6375 state:committed]
Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
上级 909588d9
......@@ -177,7 +177,7 @@ def test_existing_migration_is_removed_on_force
run_generator
old_migration = Dir["#{destination_root}/db/migrate/*_create_accounts.rb"].first
error = capture(:stderr) { run_generator ["Account", "--force"] }
assert_no_match /Another migration is already named create_foos/, error
assert_no_match /Another migration is already named create_accounts/, error
assert_no_file old_migration
assert_migration 'db/migrate/create_accounts.rb'
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册