Skip to content

Commit

Permalink
Remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Jun 10, 2012
1 parent 179276e commit 9e6eb8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/migration_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 9e6eb8b

Please sign in to comment.