diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-22 23:52:04 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-10-22 23:52:04 +0000 |
commit | 902533e6f00114717e13758339299d9acd328b10 (patch) | |
tree | 4f3b12677ad2266f9309e267423ae5d6b971f541 /activerecord | |
parent | e829e12e16f0dba4a15a3b6d114fa2be107aeee2 (diff) | |
download | rails-902533e6f00114717e13758339299d9acd328b10.tar.gz rails-902533e6f00114717e13758339299d9acd328b10.tar.bz2 rails-902533e6f00114717e13758339299d9acd328b10.zip |
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
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/migration_test.rb | 3 |
1 files changed, 1 insertions, 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 |