Skip to content

Commit

Permalink
This way asserting that updated_at was changed in touch look more obv…
Browse files Browse the repository at this point in the history
…ious.
  • Loading branch information
dmitriy-kiriyenko authored and jonleighton committed Jun 7, 2011
1 parent 7c1f73c commit 8aabefb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activerecord/test/cases/timestamp_test.rb
Expand Up @@ -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

Expand Down

0 comments on commit 8aabefb

Please sign in to comment.