[rubygems/rubygems] Now Dir.tmpdir is fixed and there's never such a folder

https://github.com/rubygems/rubygems/commit/44ebbded12
This commit is contained in:
David Rodríguez 2020-04-02 19:45:43 +02:00 committed by Hiroshi SHIBATA
parent 2efe741902
commit a433b82f13
Notes: git 2020-05-08 14:14:13 +09:00

View File

@ -7,10 +7,6 @@ require 'pathname'
require 'tmpdir'
require 'rbconfig'
if File.exist?(File.join(Dir.tmpdir, "Gemfile"))
raise "rubygems/bundler tests do not work correctly if there is #{ File.join(Dir.tmpdir, "Gemfile") }"
end
class TestGem < Gem::TestCase
PLUGINS_LOADED = [] # rubocop:disable Style/MutableConstant