Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Test updated_at correctly

  • Loading branch information...
commit fa7ee7caf4255c16ac52bbe28afd01c4d30fe0ec 1 parent 553df79
@jyurek jyurek authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/attachment_test.rb
View
2  test/attachment_test.rb
@@ -703,7 +703,7 @@ def do_after_all; end
now = Time.now
Time.stubs(:now).returns(now)
@dummy.avatar = @file
- assert now, @dummy.avatar.updated_at
+ assert_equal now.to_i, @dummy.avatar.updated_at.to_i
end
should "return nil when reloaded and sent #avatar_updated_at" do
Please sign in to comment.
Something went wrong with that request. Please try again.