##// END OF EJS Templates
replace RAILS_ROOT to Rails.root at test/unit/lib/redmine/hook_test.rb....
Toshi MARUYAMA -
r5969:05f83d180e32
parent child
Show More
@@ -1,5 +1,5
1 # redMine - project management software
1 # Redmine - project management software
2 # Copyright (C) 2006-2008 Jean-Philippe Lang
2 # Copyright (C) 2006-2011 Jean-Philippe Lang
3 #
3 #
4 # This program is free software; you can redistribute it and/or
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
5 # modify it under the terms of the GNU General Public License
@@ -166,7 +166,7 class Redmine::Hook::ManagerTest < ActiveSupport::TestCase
166 end
166 end
167
167
168 def view_hook_helper
168 def view_hook_helper
169 @view_hook_helper ||= TestHookHelperView.new(RAILS_ROOT + '/app/views')
169 @view_hook_helper ||= TestHookHelperView.new(Rails.root + '/app/views')
170 end
170 end
171 end
171 end
172
172
General Comments 0
You need to be logged in to leave comments. Login now