Sha256: dc55331c95fc242efb937c74ed922c48dfbf9b11e6d24341558c3af1406c8e0d
Contents?: true
Size: 453 Bytes
Versions: 6
Compression:
Stored size: 453 Bytes
Contents
require "cases/helper" require "models/task" module ActiveRecord module Type class IntegerTest < ActiveRecord::TestCase def test_datetime_seconds_precision_applied_to_timestamp skip "This test is invalid if subsecond precision isn't supported" unless subsecond_precision_supported? p = Task.create!(starting: ::Time.now) assert_equal p.starting.usec, p.reload.starting.usec end end end end
Version data entries
6 entries across 6 versions & 1 rubygems