diff options
-rw-r--r-- | test/unit/attachment_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/attachment_test.rb b/test/unit/attachment_test.rb index c9e94b31c..9491fae98 100644 --- a/test/unit/attachment_test.rb +++ b/test/unit/attachment_test.rb @@ -436,6 +436,8 @@ class AttachmentTest < ActiveSupport::TestCase end def test_should_reuse_thumbnail + Attachment.clear_thumbnails + a = Attachment.create!( :container => Issue.find(1), :file => uploaded_test_file("2010/11/101123161450_testfile_1.png", "image/png"), |