diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-27 04:11:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-01-27 04:11:53 +0000 |
commit | ae6c9c97bab98829620c274ad9c04b13b47b9459 (patch) | |
tree | fe61a1aa1a048f1c9a276157bef8fe59c30b6f8a /test | |
parent | 40e30b1454595567157d4bf8c3a1efc9110c4d9d (diff) | |
download | ruby-ae6c9c97bab98829620c274ad9c04b13b47b9459.tar.gz |
test_require.rb: fix temporary library directory
* test/rubygems/test_require.rb (test_dash_i_beats_gems): create
temporary library directory under the temporary directory
created by Gem::TestCase#setup, not to leave garbages in the
default temporary directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/rubygems/test_require.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_require.rb b/test/rubygems/test_require.rb index b0808f96d8..c05387a871 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' |