From 9e6eb8b648acf38474e46c335782c65d65b1a185 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Sun, 10 Jun 2012 17:22:06 -0300 Subject: Remove warning --- activerecord/test/cases/migration_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord') 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 -- cgit v1.2.3