diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2014-02-07 17:08:09 -0800 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2014-02-07 17:08:09 -0800 |
commit | 3f90787cd25a45a621fbb7238f69ee96f26e8f74 (patch) | |
tree | 7ecfae049e4fbe48df38bb730780aa6519e970da /activemodel/lib/active_model/serializers/json.rb | |
parent | ed66361488752aa115f8d95175cde6dd24f3496d (diff) | |
download | rails-3f90787cd25a45a621fbb7238f69ee96f26e8f74.tar.gz rails-3f90787cd25a45a621fbb7238f69ee96f26e8f74.tar.bz2 rails-3f90787cd25a45a621fbb7238f69ee96f26e8f74.zip |
Adjust test value so that timezone has no effect
If the test is run in a timezone that is behind UTC it fails because
the time generated is ahead of 0000-01-01 00:00:00. Just increase the
time subtracted so that timezone has no effect.
Diffstat (limited to 'activemodel/lib/active_model/serializers/json.rb')
0 files changed, 0 insertions, 0 deletions