summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_doctor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_doctor.rb')
-rw-r--r--test/rubygems/test_gem_doctor.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_doctor.rb b/test/rubygems/test_gem_doctor.rb
index 75d406ac88..8ca4798c93 100644
--- a/test/rubygems/test_gem_doctor.rb
+++ b/test/rubygems/test_gem_doctor.rb
@@ -158,8 +158,8 @@ This directory does not appear to be a RubyGems repository, skipping
Gem.use_paths @gemhome.to_s
- FileUtils.mkdir_p Gem.plugins_dir
- bad_plugin = File.join(Gem.plugins_dir, "a_badly_named_file.rb")
+ FileUtils.mkdir_p Gem.plugindir
+ bad_plugin = File.join(Gem.plugindir, "a_badly_named_file.rb")
write_file bad_plugin
doctor = Gem::Doctor.new @gemhome