summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/rubygems/test_require.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_require.rb b/test/rubygems/test_require.rb
index b0808f9..c05387a 100644
--- a/test/rubygems/test_require.rb
+++ b/test/rubygems/test_require.rb
@@ -59,7 +59,7 @@ class TestGemRequire < Gem::TestCase
install_specs c1, c2, b1, a1
- dir = Dir.mktmpdir
+ dir = Dir.mktmpdir("test_require", @tempdir)
dash_i_arg = File.join dir, 'lib'
c_rb = File.join dash_i_arg, 'b', 'c.rb'