Commit 86cb4c62 authored by jplang's avatar jplang

Clear thumbnails directory to prevent test failure.

git-svn-id: https://svn.redmine.org/redmine/trunk@17752 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 74736d1c
......@@ -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"),
......
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