From 8155d2728a1795d32587bed2f4c64e06f70d865a Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Thu, 28 Aug 2008 20:00:39 +0000 Subject: [PATCH] ActionItem629: saving test data under test/tmp --- test/test_helper.rb | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 906b28a..5aab683 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -9,6 +9,9 @@ require 'noosfero/test' FileUtils.rm_rf(File.join(RAILS_ROOT, 'index', 'test')) +Image.attachment_options[:path_prefix] = 'test/tmp/public/images' +Thumbnail.attachment_options[:path_prefix] = 'test/tmp/public/thumbnails' + class Test::Unit::TestCase # Transactional fixtures accelerate your tests by wrapping each test method # in a transaction that's rolled back on completion. This ensures that the -- libgit2 0.21.2