diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-05-30 07:58:00 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-05-30 07:58:00 +0900 |
commit | 966715d52811578f5fbbe63e2c5c441971f91b6f (patch) | |
tree | 558156119e317562c652044a814e75d7bc9d775e /activerecord/test/cases/scoping | |
parent | e1758b5e8c8d49fdf931b0b3f8009810880113a6 (diff) | |
download | rails-966715d52811578f5fbbe63e2c5c441971f91b6f.tar.gz rails-966715d52811578f5fbbe63e2c5c441971f91b6f.tar.bz2 rails-966715d52811578f5fbbe63e2c5c441971f91b6f.zip |
Reset time zone to previous value
Since `CurrentAttributesTest` changed the global time zone, it is
necessary to restore the original value after changing the test.
The reproduction step:
```
./bin/test -w --seed 5549 test/current_attributes_test.rb test/core_ext/date_ext_test.rb
```
Diffstat (limited to 'activerecord/test/cases/scoping')
0 files changed, 0 insertions, 0 deletions