summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/test/unit/parallel.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/test/unit/parallel.rb b/lib/test/unit/parallel.rb
index 7a7c73d4f2..bb95a54f78 100644
--- a/lib/test/unit/parallel.rb
+++ b/lib/test/unit/parallel.rb
@@ -152,6 +152,10 @@ if $0 == __FILE__
end
end
end
+ require 'rubygems'
+ class Gem::TestCase < MiniTest::Unit::TestCase
+ @@project_dir = File.expand_path('../../../..', __FILE__)
+ end
Test::Unit::Worker.new.run(ARGV)
end