Revert r6104 "Merged r6098 from trunk."

I messed things up with a cherry-pick on master, I'll re-apply it after.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.2-stable@6105 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Baptiste Barth
2011-06-21 03:16:49 +00:00
parent 16ba6bcb77
commit 102c9afadf
18 changed files with 60 additions and 131 deletions
@@ -32,7 +32,7 @@ class AttachmentsControllerTest < ActionController::TestCase
@controller = AttachmentsController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
Attachment.storage_path = "#{Rails.root}/test/fixtures/files"
Attachment.storage_path = "#{RAILS_ROOT}/test/fixtures/files"
User.current = nil
end