summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-04-02 19:45:43 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-08 14:13:29 +0900
commita433b82f13f83a83c0522e604ffe42f3f7f3b64d (patch)
tree987a0b14c7b6c9e760aa19a0694be18868394ce3
parent2efe741902301a6185d7ee1eff91d53b1d527302 (diff)
[rubygems/rubygems] Now `Dir.tmpdir` is fixed and there's never such a folder
https://github.com/rubygems/rubygems/commit/44ebbded12
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3092
-rw-r--r--test/rubygems/test_gem.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/rubygems/test_gem.rb b/test/rubygems/test_gem.rb
index 430c3a6eeb..81162826ac 100644
--- a/test/rubygems/test_gem.rb
+++ b/test/rubygems/test_gem.rb
@@ -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