Add tweaks for Ruby's GC to speed up tests

This commit is contained in:
Eric Davis
2011-09-14 19:02:50 -07:00
parent df61a1fe9e
commit b3b7fa11b0

View File

@@ -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'] = {