]> source.dussan.org Git - redmine.git/commitdiff
replace RAILS_ROOT to Rails.root at test/unit/lib/redmine/hook_test.rb.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 17 Jun 2011 05:04:16 +0000 (05:04 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 17 Jun 2011 05:04:16 +0000 (05:04 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6091 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/hook_test.rb

index 27e4e2e980c97c34e85b9037d75d6ab72f2ae913..14782683a50b3b660d0c92e53c246cca419f3309 100644 (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