aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorYasuo Honda <yasuo.honda@gmail.com>2013-02-28 05:43:01 +0900
committerYasuo Honda <yasuo.honda@gmail.com>2013-02-28 05:46:56 +0900
commitc27da1fbcc243613949c682c44f05fffa71519c4 (patch)
tree616e76af480536f3f09f4ff831434d24dc94974a /activerecord
parent6a65a8caf38fb7a46521ffbc66ea6f375a0add89 (diff)
downloadrails-c27da1fbcc243613949c682c44f05fffa71519c4.tar.gz
rails-c27da1fbcc243613949c682c44f05fffa71519c4.tar.bz2
rails-c27da1fbcc243613949c682c44f05fffa71519c4.zip
Revert "Skip test_remove_column_with_array_as_an_argument_is_deprecated with Oracle adapter."
This reverts commit 7544c7a9f290a3ea25099ae38d52795458391785. Oracle enhanced adapter is supporting remove_column with Array.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/migration_test.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb
index 120948a528..7f0d921545 100644
--- a/activerecord/test/cases/migration_test.rb
+++ b/activerecord/test/cases/migration_test.rb
@@ -874,8 +874,6 @@ if ActiveRecord::Base.connection.supports_migrations?
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 @@ if ActiveRecord::Base.connection.supports_migrations?
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