diff options
author | Edgars Beigarts <edgars.beigarts@makit.lv> | 2011-11-21 10:30:07 +0200 |
---|---|---|
committer | Edgars Beigarts <edgars.beigarts@makit.lv> | 2012-05-02 10:28:12 +0300 |
commit | 6d6907e40d2ff5b08560ee24fc192a72acfa0347 (patch) | |
tree | bc50456a8a8d6de12b3fa98a0beb4d168a82c0be /activerecord/test/cases | |
parent | c0a7038412c60cf48274267f75bc4376e733dc69 (diff) | |
download | rails-6d6907e40d2ff5b08560ee24fc192a72acfa0347.tar.gz rails-6d6907e40d2ff5b08560ee24fc192a72acfa0347.tar.bz2 rails-6d6907e40d2ff5b08560ee24fc192a72acfa0347.zip |
Refactored remove_column
Diffstat (limited to 'activerecord/test/cases')
-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 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 |