diff options
author | Joe Rafaniello <jrafanie@gmail.com> | 2012-08-18 11:10:06 -0400 |
---|---|---|
committer | Joe Rafaniello <jrafanie@gmail.com> | 2012-08-18 11:21:10 -0400 |
commit | 066ecf00372d2c161a7a200f1347ec3210768a9b (patch) | |
tree | 620c75876ab1f35d3f911a76b7a93281ab4f4d33 /activerecord/test | |
parent | d6dbd7fbbcb38c7d34a0928bde2bfc7ce21618f0 (diff) | |
download | rails-066ecf00372d2c161a7a200f1347ec3210768a9b.tar.gz rails-066ecf00372d2c161a7a200f1347ec3210768a9b.tar.bz2 rails-066ecf00372d2c161a7a200f1347ec3210768a9b.zip |
Table#remove passed an array to remove_column, which is deprecated.
See 02ca9151a043a4fefbb3f22edd05f0cd392fffaa
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/migration_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb index fb5eb2633b..f0c55b1535 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -1976,14 +1976,14 @@ if ActiveRecord::Base.connection.supports_migrations? def test_remove_drops_single_column with_change_table do |t| - @connection.expects(:remove_column).with(:delete_me, [:bar]) + @connection.expects(:remove_column).with(:delete_me, :bar) t.remove :bar end end def test_remove_drops_multiple_columns with_change_table do |t| - @connection.expects(:remove_column).with(:delete_me, [:bar, :baz]) + @connection.expects(:remove_column).with(:delete_me, :bar, :baz) t.remove :bar, :baz end end |