From 87e83c7285e928a06e21ebbb1e594006a4a1c392 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 21 Dec 2009 02:24:56 +0000 Subject: [PATCH] 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 --- test/unit/lib/redmine/hook_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/lib/redmine/hook_test.rb b/test/unit/lib/redmine/hook_test.rb index b8a977fb4..79ecb9dda 100644 --- a/test/unit/lib/redmine/hook_test.rb +++ b/test/unit/lib/redmine/hook_test.rb @@ -166,7 +166,7 @@ class Redmine::Hook::ManagerTest < ActiveSupport::TestCase end def view_hook_helper - @view_hook_helper ||= TestHookHelperView.new(RAILS_ROOT + '/log') + @view_hook_helper ||= TestHookHelperView.new(RAILS_ROOT + '/app/views') end end