Browse files

This way asserting that updated_at was changed in touch look more obv…

…ious.
  • Loading branch information...
1 parent a995911 commit 96711aa0a9ea94a4835872d4ad30e16eddebff75 @dmitriy-kiriyenko dmitriy-kiriyenko committed with jonleighton Jun 6, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 activerecord/test/cases/timestamp_test.rb
View
1 activerecord/test/cases/timestamp_test.rb
@@ -11,6 +11,7 @@ class TimestampTest < ActiveRecord::TestCase
def setup
@developer = Developer.first
+ @developer.update_attribute(:updated_at, Time.now.prev_month)
@previously_updated_at = @developer.updated_at
end

0 comments on commit 96711aa

Please sign in to comment.