提交 45d585e8 编写于 作者: J Jon Leighton

fix test :/

上级 af8c8b43
......@@ -344,11 +344,7 @@ def test_create_table_with_binary_column
columns = Person.connection.columns(:binary_testings)
data_column = columns.detect { |c| c.name == "data" }
if current_adapter?(:MysqlAdapter) or current_adapter?(:Mysql2Adapter)
assert_equal '', data_column.default
else
assert_nil data_column.default
end
assert_nil data_column.default
Person.connection.drop_table :binary_testings rescue nil
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册