Remove assert_nothing_raised, as test is already testing the required concerns

上级 387b7751
......@@ -64,11 +64,11 @@ def test_change_column_default
end
def test_add_column_with_null_true_and_default_nil
assert_nothing_raised do
connection.add_column :uuid_data_type, :thingy, :uuid, null: true, default: nil
end
connection.add_column :uuid_data_type, :thingy, :uuid, null: true, default: nil
UUIDType.reset_column_information
column = UUIDType.columns_hash["thingy"]
assert column.null
assert_nil column.default
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册