Commit fdb5b84c by Matthew Schulkind Committed by Jon Yurek

Remove an unfeasible test.

Fixes #913.
parent 91a8b00c
...@@ -1090,13 +1090,6 @@ class AttachmentTest < Test::Unit::TestCase ...@@ -1090,13 +1090,6 @@ class AttachmentTest < Test::Unit::TestCase
assert_equal now.to_i, @dummy.avatar.updated_at.to_i assert_equal now.to_i, @dummy.avatar.updated_at.to_i
end end
should "return nil when reloaded and sent #avatar_updated_at" do
@dummy.avatar = @file
@dummy.save
@dummy.reload
assert_nil @dummy.avatar.updated_at
end
should "return the right value when sent #avatar_file_size" do should "return the right value when sent #avatar_file_size" do
@dummy.avatar = @file @dummy.avatar = @file
assert_equal File.size(@file), @dummy.avatar.size assert_equal File.size(@file), @dummy.avatar.size
......
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