mirror of
https://github.com/redmine/redmine.git
synced 2026-03-18 02:20:59 +01:00
replace RAILS_ROOT to Rails.root in functional attachments controller test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6077 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user