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:
parent
f92142dce1
commit
38777949f0
1 changed files with 2 additions and 2 deletions
|
@ -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?
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue