Permalink
Browse files

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
  • Loading branch information...
1 parent e829e12 commit 902533e6f00114717e13758339299d9acd328b10 @jeremy jeremy committed Oct 22, 2007
Showing with 1 addition and 2 deletions.
  1. +1 −2 activerecord/test/migration_test.rb
@@ -461,8 +461,8 @@ def test_rename_table
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 @@ def test_change_column_nullability
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

0 comments on commit 902533e

Please sign in to comment.