diff options
author | Brian Lopez <seniorlopez@gmail.com> | 2010-08-02 15:10:34 -0700 |
---|---|---|
committer | Brian Lopez <seniorlopez@gmail.com> | 2010-08-02 15:10:34 -0700 |
commit | 42035fd112fb8034a706d033bfc63ee2a2797a96 (patch) | |
tree | b619d1921e896bfba6eb454a3c355ac404160b74 /activerecord/test/cases | |
parent | ab64499911184faee11147bc1c88dd2616e848ab (diff) | |
download | rails-42035fd112fb8034a706d033bfc63ee2a2797a96.tar.gz rails-42035fd112fb8034a706d033bfc63ee2a2797a96.tar.bz2 rails-42035fd112fb8034a706d033bfc63ee2a2797a96.zip |
move reload after touch
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/timestamp_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/timestamp_test.rb b/activerecord/test/cases/timestamp_test.rb index a57b3dfba1..401439994d 100644 --- a/activerecord/test/cases/timestamp_test.rb +++ b/activerecord/test/cases/timestamp_test.rb @@ -93,8 +93,8 @@ class TimestampTest < ActiveRecord::TestCase owner = pet.owner owner.update_attribute(:updated_at, (time = 3.days.ago)) - owner.reload toy.touch + owner.reload assert_not_equal time, owner.updated_at ensure |