diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-24 08:10:41 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-11-24 08:10:41 +0000 |
commit | be29227c12da043996cf05a489fa6b7ef26bea81 (patch) | |
tree | 41b1287d3635125a2319980566e1d7ee0e636a08 /test/unit/helpers | |
parent | 4e83057e765d73632102be6a76b45d97584a0739 (diff) | |
download | redmine-be29227c12da043996cf05a489fa6b7ef26bea81.tar.gz redmine-be29227c12da043996cf05a489fa6b7ef26bea81.zip |
reset Attachment.storage_path at the end of attachment tests
Attachment files are deleted when database data were deleted.
So, other tests fail.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7911 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/helpers')
-rw-r--r-- | test/unit/helpers/application_helper_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index aeb714042..701bfeed7 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -203,6 +203,7 @@ RAW } attachments = [a1, a2] to_test.each { |text, result| assert_equal "<p>#{result}</p>", textilizable(text, :attachments => attachments) } + set_tmp_attachments_directory end def test_textile_external_links |