From b3b7fa11b08ab8649b7e7e96c87eeda905e7624c Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Wed, 14 Sep 2011 19:02:50 -0700 Subject: [PATCH] Add tweaks for Ruby's GC to speed up tests --- test/test_helper.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/test_helper.rb b/test/test_helper.rb index ac37e49..5b063de 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -92,6 +92,12 @@ class ActionController::IntegrationTest end class ActiveSupport::TestCase + begin + require 'ruby_gc_test_patchs' + include RubyGcTestPatch + rescue LoadError + end + def configure_overhead_plugin @custom_field = TimeEntryActivityCustomField.generate! Setting['plugin_redmine_overhead'] = {