replace RAILS_ROOT to Rails.root at test/unit/lib/redmine/hook_test.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6091 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-06-17 05:04:16 +00:00
parent 583be064c8
commit 391760a666
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class Redmine::Hook::ManagerTest < ActiveSupport::TestCase
end
def view_hook_helper
@view_hook_helper ||= TestHookHelperView.new(RAILS_ROOT + '/app/views')
@view_hook_helper ||= TestHookHelperView.new(Rails.root.to_s + '/app/views')
end
end