Browse files

Revert "Skip test_remove_column_with_array_as_an_argument_is_deprecat…

…ed with Oracle adapter."

This reverts commit 7544c7a.

Oracle enhanced adapter is supporting remove_column with Array.
  • Loading branch information...
1 parent 6a65a8c commit c27da1fbcc243613949c682c44f05fffa71519c4 @yahonda yahonda committed Feb 27, 2013
Showing with 1 addition and 3 deletions.
  1. +1 −3 activerecord/test/cases/migration_test.rb
View
4 activerecord/test/cases/migration_test.rb
@@ -874,8 +874,6 @@ def test_remove_column_no_second_parameter_raises_exception
end
def test_remove_column_with_array_as_an_argument_is_deprecated
- return skip "remove_column with array as argument is not supported with OracleAdapter" if current_adapter? :OracleAdapter
-
ActiveRecord::Base.connection.create_table(:hats) do |table|
table.column :hat_name, :string, :limit => 100
table.column :hat_size, :integer
@@ -886,7 +884,7 @@ def test_remove_column_with_array_as_an_argument_is_deprecated
Person.connection.remove_column("hats", ["hat_name", "hat_size"])
end
ensure
- ActiveRecord::Base.connection.drop_table(:hats) rescue nil
+ ActiveRecord::Base.connection.drop_table(:hats)
end
def test_removing_and_renaming_column_preserves_custom_primary_key

0 comments on commit c27da1f

Please sign in to comment.