mirror of
https://github.com/redmine/redmine.git
synced 2026-02-09 16:17:50 +01:00
Clear thumbnails directory to prevent test failure.
git-svn-id: http://svn.redmine.org/redmine/trunk@17752 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user