diff options
author | Andrew White <andyw@pixeltrix.co.uk> | 2013-04-05 11:27:54 +0100 |
---|---|---|
committer | Andrew White <andyw@pixeltrix.co.uk> | 2013-04-05 11:34:52 +0100 |
commit | 155f86675ce6f2995a61eee9e3d814c974d2bec8 (patch) | |
tree | a104bb9efc87c3168cad4ee43f78670412965d4b /actionpack/test/fixtures/alternate_helpers | |
parent | dce398d579e484ff64a0260cea4591ad952dc99c (diff) | |
download | rails-155f86675ce6f2995a61eee9e3d814c974d2bec8.tar.gz rails-155f86675ce6f2995a61eee9e3d814c974d2bec8.tar.bz2 rails-155f86675ce6f2995a61eee9e3d814c974d2bec8.zip |
Improve `belongs_to touch: true` timestamp test
Round off time to a whole second value to compensate for databases
that don't support fractional timestamps. Also add a assertion to
check that the old record is touched when the association is cleared.
Diffstat (limited to 'actionpack/test/fixtures/alternate_helpers')
0 files changed, 0 insertions, 0 deletions