]> source.dussan.org Git - redmine.git/commitdiff
Fixed the view_hook_helper test, it was reading all of the log files into
authorEric Davis <edavis@littlestreamsoftware.com>
Mon, 21 Dec 2009 02:24:56 +0000 (02:24 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Mon, 21 Dec 2009 02:24:56 +0000 (02:24 +0000)
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

index b8a977fb4c7b4e15ff00e6ac57bc932f35a707be..79ecb9dda242fbd661eed7a8646cba97adf2f011 100644 (file)
@@ -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