diff options
| author | Ryuta Kamizono <kamipo@gmail.com> | 2016-02-06 20:01:00 +0900 |
|---|---|---|
| committer | Ryuta Kamizono <kamipo@gmail.com> | 2016-02-06 23:15:22 +0900 |
| commit | 71366209d56a62c90ef39fb00470305f7caa5a0f (patch) | |
| tree | 7660302ebcfc264be05319f38de4acc8c6a32064 /activerecord/lib/active_record/attribute_assignment.rb | |
| parent | b9a95456a5f73dd113c6656cdc447f0b3db4c737 (diff) | |
| download | rails-71366209d56a62c90ef39fb00470305f7caa5a0f.tar.gz rails-71366209d56a62c90ef39fb00470305f7caa5a0f.tar.bz2 rails-71366209d56a62c90ef39fb00470305f7caa5a0f.zip | |
Fix `assert_in_delta` test failure
`assert_in_delta` in `timestamp_test.rb` causes an intermittent test
failure. It looks like that caused by subseconds truncation in MySQL 5.5.
Example:
```
1) Failure:
TimestampTest#test_touching_many_attributes_updates_them [/home/travis/build/rails/rails/activerecord/test/cases/timestamp_test.rb:125]:
Expected |2016-02-06 09:22:10 +0000 - 2016-02-06 09:22:09 UTC| (1.000837185) to be <= 1.
```
Diffstat (limited to 'activerecord/lib/active_record/attribute_assignment.rb')
0 files changed, 0 insertions, 0 deletions
