diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-04-19 11:22:32 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-04-19 11:23:59 -0300 |
commit | 1d9309a5b2391b9f839dd23a213031267d03a281 (patch) | |
tree | d292482871a1390f737cb35a23613980b5c908c0 /activerecord/test/cases | |
parent | db1594c61c0cd1de53eeaf9e705a609ac8ba95a0 (diff) | |
download | rails-1d9309a5b2391b9f839dd23a213031267d03a281.tar.gz rails-1d9309a5b2391b9f839dd23a213031267d03a281.tar.bz2 rails-1d9309a5b2391b9f839dd23a213031267d03a281.zip |
Improve the error message
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/migration_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb index b26ffa0e79..193ffb26e3 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -277,7 +277,7 @@ class MigrationTest < ActiveRecord::TestCase e = assert_raise(StandardError) { migrator.run } - assert_equal "An error has occurred, the migration canceled:\n\nSomething broke", e.message + assert_equal "An error has occurred, this migration was canceled:\n\nSomething broke", e.message Person.reset_column_information assert_not Person.column_methods_hash.include?(:last_name), |