Correct migration name the test is looking to match.

[#6375 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
This commit is contained in:
Ben Orenstein 2011-02-04 12:42:34 -05:00 committed by Santiago Pastorino
parent 909588d964
commit 4b2889e771

@ -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