Fixed the view_hook_helper test, it was reading all of the log files into
memory and would throw a NoMemoryError (2GB+ used). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3211 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e1013c44a3
commit
87e83c7285
|
@ -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 + '/log')
|
@view_hook_helper ||= TestHookHelperView.new(RAILS_ROOT + '/app/views')
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue