aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2012-05-02 11:45:48 -0700
committerPiotr Sarnacki <drogus@gmail.com>2012-05-02 11:45:48 -0700
commitae8f4974d1acea4c46e21f6ba29d90dbb43b0979 (patch)
tree38be1da4eeae6f02b8c75adf9c7fbcf16ec8b8ac /activerecord/test/cases
parent6a4541d63e65b1de99bc20c9d260ac13c02fa581 (diff)
parent6d6907e40d2ff5b08560ee24fc192a72acfa0347 (diff)
downloadrails-ae8f4974d1acea4c46e21f6ba29d90dbb43b0979.tar.gz
rails-ae8f4974d1acea4c46e21f6ba29d90dbb43b0979.tar.bz2
rails-ae8f4974d1acea4c46e21f6ba29d90dbb43b0979.zip
Merge pull request #3707 from ebeigarts/refactor_remove_column
Refactored remove_column
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/migration_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb
index e71b84a3a5..f788690b0d 100644
--- a/activerecord/test/cases/migration_test.rb
+++ b/activerecord/test/cases/migration_test.rb
@@ -588,14 +588,14 @@ class ChangeTableMigrationsTest < ActiveRecord::TestCase
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