mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
ae09a6ae93
commit
a82d27281b
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue