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@6089 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
29b0a71eab
commit
05f83d180e
|
@ -1,5 +1,5 @@
|
||||||
# redMine - project management software
|
# Redmine - project management software
|
||||||
# Copyright (C) 2006-2008 Jean-Philippe Lang
|
# Copyright (C) 2006-2011 Jean-Philippe Lang
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or
|
# This program is free software; you can redistribute it and/or
|
||||||
# modify it under the terms of the GNU General Public License
|
# modify it under the terms of the GNU General Public License
|
||||||
|
@ -166,7 +166,7 @@ class Redmine::Hook::ManagerTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def view_hook_helper
|
def view_hook_helper
|
||||||
@view_hook_helper ||= TestHookHelperView.new(RAILS_ROOT + '/app/views')
|
@view_hook_helper ||= TestHookHelperView.new(Rails.root + '/app/views')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue