summaryrefslogtreecommitdiff
path: root/test/runner.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/runner.rb')
-rw-r--r--test/runner.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/runner.rb b/test/runner.rb
index 94beb448cd9..9c17743436f 100644
--- a/test/runner.rb
+++ b/test/runner.rb
@@ -1,9 +1,11 @@
require 'rbconfig'
-require 'test/unit'
-
src_testdir = File.dirname(File.realpath(__FILE__))
$LOAD_PATH << src_testdir
+$LOAD_PATH.unshift "#{src_testdir}/lib"
+
+require 'test/unit'
+
module Gem
end
class Gem::TestCase < MiniTest::Unit::TestCase