]> source.dussan.org Git - redmine.git/commitdiff
Prevent projects tests from deleting fixture files.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 19 Nov 2011 16:28:06 +0000 (16:28 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 19 Nov 2011 16:28:06 +0000 (16:28 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7852 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/api_test/projects_test.rb

index 8c601b356df38139f1e73ad7a9e2e9f98af60693..6b7d8d65989c75928458af613333918f3c5c6510 100644 (file)
@@ -24,6 +24,7 @@ class ApiTest::ProjectsTest < ActionController::IntegrationTest
 
   def setup
     Setting.rest_api_enabled = '1'
+    set_tmp_attachments_directory
   end
 
   context "GET /projects" do