From 902533e6f00114717e13758339299d9acd328b10 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Mon, 22 Oct 2007 23:52:04 +0000 Subject: Reinstate test_change_column_nullability for all adapters. Closes #9945 [lawrence] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7996 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/migration_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/activerecord/test/migration_test.rb b/activerecord/test/migration_test.rb index 997d149737..00081dca56 100644 --- a/activerecord/test/migration_test.rb +++ b/activerecord/test/migration_test.rb @@ -461,8 +461,8 @@ if ActiveRecord::Base.connection.supports_migrations? end end - unless current_adapter?(:SQLiteAdapter) def test_change_column_nullability + Person.delete_all Person.connection.add_column "people", "funny", :boolean Person.reset_column_information assert Person.columns_hash["funny"].null, "Column 'funny' must initially allow nulls" @@ -473,7 +473,6 @@ if ActiveRecord::Base.connection.supports_migrations? Person.reset_column_information assert Person.columns_hash["funny"].null, "Column 'funny' must allow nulls again at this point" end - end def test_rename_table_with_an_index begin -- cgit v1.2.3