summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2009-12-21 02:24:56 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2009-12-21 02:24:56 +0000
commit87e83c7285e928a06e21ebbb1e594006a4a1c392 (patch)
tree9a76a77f932cb008bc41dbfb18569320de0f7f6a /test
parente1013c44a3b702a74349c1bc12c86158fe2fdfd9 (diff)
downloadredmine-87e83c7285e928a06e21ebbb1e594006a4a1c392.tar.gz
redmine-87e83c7285e928a06e21ebbb1e594006a4a1c392.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/unit/lib/redmine/hook_test.rb2
1 files changed, 1 insertions, 1 deletions
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