aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases/migration_test.rb')
-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 9684785ecf..bedae76e28 100644
--- a/activerecord/test/cases/migration_test.rb
+++ b/activerecord/test/cases/migration_test.rb
@@ -882,7 +882,7 @@ if ActiveRecord::Base.connection.supports_migrations?
table.column :hat_style, :string, :limit => 100
end
- assert_deprecated /Passing array to remove_columns is deprecated/ do
+ assert_deprecated(/Passing array to remove_columns is deprecated/) do
Person.connection.remove_column("hats", ["hat_name", "hat_size"])
end
ensure