1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fixed typo in column_definition_test.rb.

This commit is contained in:
Vajrasky Kok 2014-02-05 16:51:34 +08:00
parent f92142dce1
commit 38777949f0

View file

@ -82,7 +82,7 @@ module ActiveRecord
assert_equal "", not_null_text_column.default assert_equal "", not_null_text_column.default
end end
def test_has_default_should_return_false_for_blog_and_test_data_types def test_has_default_should_return_false_for_blob_and_text_data_types
blob_column = MysqlAdapter::Column.new("title", nil, "blob") blob_column = MysqlAdapter::Column.new("title", nil, "blob")
assert !blob_column.has_default? assert !blob_column.has_default?
@ -116,7 +116,7 @@ module ActiveRecord
assert_equal "", not_null_text_column.default assert_equal "", not_null_text_column.default
end end
def test_has_default_should_return_false_for_blog_and_test_data_types def test_has_default_should_return_false_for_blob_and_text_data_types
blob_column = Mysql2Adapter::Column.new("title", nil, "blob") blob_column = Mysql2Adapter::Column.new("title", nil, "blob")
assert !blob_column.has_default? assert !blob_column.has_default?