提交 bff28bab 编写于 作者: S Sean Griffin

Don't assert fractional seconds can be applied on unsupported adapters

This was passing prior to 20b177b7,
because we were not properly applying our contract that
`model.attr == model.tap(&:save).reload.attr` for this case. Now that
that has been resolved, this test is invalid on some adapters
上级 20b177b7
......@@ -592,6 +592,7 @@ def test_field_named_field
end
def test_datetime_attribute_can_be_updated_with_fractional_seconds
skip "Fractional seconds are not supported" unless subsecond_precision_supported?
in_time_zone 'Paris' do
target = Class.new(ActiveRecord::Base)
target.table_name = 'topics'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册