Commit 91a8b00c by Matthew Schulkind Committed by Jon Yurek

Fix the test to really test what it says it does.

Fixes #913
parent 6d2607dd
...@@ -1091,6 +1091,7 @@ class AttachmentTest < Test::Unit::TestCase ...@@ -1091,6 +1091,7 @@ class AttachmentTest < Test::Unit::TestCase
end end
should "return nil when reloaded and sent #avatar_updated_at" do should "return nil when reloaded and sent #avatar_updated_at" do
@dummy.avatar = @file
@dummy.save @dummy.save
@dummy.reload @dummy.reload
assert_nil @dummy.avatar.updated_at assert_nil @dummy.avatar.updated_at
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment