Permalink
Browse files

Remove warning

  • Loading branch information...
1 parent 179276e commit 9e6eb8b648acf38474e46c335782c65d65b1a185 @rafaelfranca rafaelfranca committed Jun 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/migration_test.rb
@@ -882,7 +882,7 @@ def test_remove_column_with_array_as_an_argument_is_deprecated
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

0 comments on commit 9e6eb8b

Please sign in to comment.