aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2016-01-11 10:49:53 -0600
committerschneems <richard.schneeman@gmail.com>2016-01-11 11:27:32 -0600
commita703999c62aa9950920bbc621aa332da337c68ca (patch)
tree9e452d72f3eda7b0d86c80a8f5939656e096729b /activerecord/test
parent179df9df68396a6916f62192971838b7e73d5f76 (diff)
downloadrails-a703999c62aa9950920bbc621aa332da337c68ca.tar.gz
rails-a703999c62aa9950920bbc621aa332da337c68ca.tar.bz2
rails-a703999c62aa9950920bbc621aa332da337c68ca.zip
Clean up duplicate migration logic
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/migration_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb
index cfa223f93e..4d264caffb 100644
--- a/activerecord/test/cases/migration_test.rb
+++ b/activerecord/test/cases/migration_test.rb
@@ -301,7 +301,7 @@ class MigrationTest < ActiveRecord::TestCase
e = assert_raise(StandardError) { migrator.run }
- assert_equal "An error has occurred, this migration was canceled:\n\nSomething broke", e.message
+ assert_equal "An error has occurred, this and all later migrations canceled:\n\nSomething broke", e.message
assert_no_column Person, :last_name,
"On error, the Migrator should revert schema changes but it did not."