diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-03-19 01:03:39 +0200 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-03-19 07:39:21 +0200 |
commit | 7daa6f4a779727f1a57a4806692f43b58e150eb9 (patch) | |
tree | c63c784be004977a1bd304c874d9425fcb48be4d /activerecord/lib/rails/generators | |
parent | d9736e50d8d6fc9fad32e16ebdc8dcd0a0a3ec61 (diff) | |
download | rails-7daa6f4a779727f1a57a4806692f43b58e150eb9.tar.gz rails-7daa6f4a779727f1a57a4806692f43b58e150eb9.tar.bz2 rails-7daa6f4a779727f1a57a4806692f43b58e150eb9.zip |
Fix failing `QuotingTest#test_quoted_time_utc`
This test fails in specific time.
Example:
If run this test on the machine with time 01:00 am UTC+2,
this test will fail.
Changing representing of 2000-01-01 01:00 am UTC+2 to UTC+0 change
the day, month and even year in our case,
so substitution `"2000-01-01 "` to `""` isn't possible.
```
Failure:
ActiveRecord::ConnectionAdapters::QuotingTest#test_quoted_time_utc
Expected: "1999-12-31 23:01:27"
Actual: "23:01:27"
```
Related to 7c479cbf
Diffstat (limited to 'activerecord/lib/rails/generators')
0 files changed, 0 insertions, 0 deletions