diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-06-10 17:22:06 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-06-10 17:22:06 -0300 |
commit | 9e6eb8b648acf38474e46c335782c65d65b1a185 (patch) | |
tree | 00f1806ade7256cf19b3667e1c6f5e056895f552 | |
parent | 179276e2b6f6bd846690b4c0ab4399cf487357ba (diff) | |
download | rails-9e6eb8b648acf38474e46c335782c65d65b1a185.tar.gz rails-9e6eb8b648acf38474e46c335782c65d65b1a185.tar.bz2 rails-9e6eb8b648acf38474e46c335782c65d65b1a185.zip |
Remove warning
-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 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 |