diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-06-16 01:53:24 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-06-16 01:53:24 +0000 |
commit | 7f458eb853e7ba533d2cecc58c02fd3515953c4d (patch) | |
tree | 18c99d8c54ae577fe8e4e2222441db493470bd03 /test/functional/attachments_controller_test.rb | |
parent | c3b4722c2ac871153a69b6e325fd059ead6a694a (diff) | |
download | redmine-7f458eb853e7ba533d2cecc58c02fd3515953c4d.tar.gz redmine-7f458eb853e7ba533d2cecc58c02fd3515953c4d.zip |
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
Diffstat (limited to 'test/functional/attachments_controller_test.rb')
-rw-r--r-- | test/functional/attachments_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/attachments_controller_test.rb b/test/functional/attachments_controller_test.rb index e609299c0..1f91da3b0 100644 --- a/test/functional/attachments_controller_test.rb +++ b/test/functional/attachments_controller_test.rb @@ -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 |