1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test
bogdanvlviv 7daa6f4a77
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
2018-03-19 07:39:21 +02:00
..
active_record/connection_adapters
assets
cases Fix failing QuotingTest#test_quoted_time_utc 2018-03-19 07:39:21 +02:00
fixtures Clean up and consolidate .gitignores 2018-02-17 14:26:19 -08:00
migrations Fix occurrences Fixnum|Bignum 2018-03-04 20:44:30 +02:00
models Make reflection.klass raise if polymorphic? not to be misused 2018-02-19 00:11:29 +09:00
schema Fix multiline expression indexes for postgresql (#31621) 2018-03-16 01:19:40 -04:00
support
config.example.yml
config.rb