diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-09-23 13:11:14 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-09-23 13:11:14 -0600 |
commit | c6b30d2219874bbdae56420683bcb30d884b94bf (patch) | |
tree | 00176985c8310ed4842735b5619ff65f4d59d051 | |
parent | db1d4d31c9a270bdb8b8873ec59f18eade94a55f (diff) | |
parent | df3a3b37debcca383406f06b6ec6bc5c7c486592 (diff) | |
download | rails-c6b30d2219874bbdae56420683bcb30d884b94bf.tar.gz rails-c6b30d2219874bbdae56420683bcb30d884b94bf.tar.bz2 rails-c6b30d2219874bbdae56420683bcb30d884b94bf.zip |
Merge pull request #21739 from ronakjangir47/subsecond_precision_supported
skipped assertion on datetime seconds precision as it is only valid for newer mysql verions
-rw-r--r-- | activerecord/test/cases/type/date_time_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/type/date_time_test.rb b/activerecord/test/cases/type/date_time_test.rb index 62d3405be1..bc4900e1c2 100644 --- a/activerecord/test/cases/type/date_time_test.rb +++ b/activerecord/test/cases/type/date_time_test.rb @@ -5,6 +5,7 @@ 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 |