aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/test_case.rb
diff options
context:
space:
mode:
authorbronzdoc <lsagastume1990@gmail.com>2019-06-29 23:38:46 -0600
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-31 07:47:01 +0800
commiteb35124ccac0f3498c4152349f71978ad86ffad5 (patch)
tree511afc99cb42bff03db6df555e1a4f18f3e232dd /lib/rubygems/test_case.rb
parent60d3f9ef9f9385f09a52584b74cc04adf48a25d1 (diff)
downloadruby-eb35124ccac0f3498c4152349f71978ad86ffad5.tar.gz
[rubygems/rubygems] Remove TODO comment, there's no Gem::Dirs constant
https://github.com/rubygems/rubygems/commit/4bacf577f1
Diffstat (limited to 'lib/rubygems/test_case.rb')
-rw-r--r--lib/rubygems/test_case.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb
index a8cc5d0060..934d27aedd 100644
--- a/lib/rubygems/test_case.rb
+++ b/lib/rubygems/test_case.rb
@@ -673,7 +673,7 @@ class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Uni
# Removes all installed gems from +@gemhome+.
def util_clear_gems
- FileUtils.rm_rf File.join(@gemhome, "gems") # TODO: use Gem::Dirs
+ FileUtils.rm_rf File.join(@gemhome, "gems")
FileUtils.mkdir File.join(@gemhome, "gems")
FileUtils.rm_rf File.join(@gemhome, "specifications")
FileUtils.mkdir File.join(@gemhome, "specifications")