summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_case.rb15
-rw-r--r--test/rubygems/test_utilities.rb2
2 files changed, 5 insertions, 12 deletions
diff --git a/test/rubygems/test_case.rb b/test/rubygems/test_case.rb
index c1baa674c2..857c7d7de7 100644
--- a/test/rubygems/test_case.rb
+++ b/test/rubygems/test_case.rb
@@ -52,32 +52,28 @@ require 'rubygems/mock_gem_ui'
module Gem
##
- # Allows setting the gem path searcher. This method is available when
- # requiring 'rubygems/test_case'
+ # Allows setting the gem path searcher.
def self.searcher=(searcher)
@searcher = searcher
end
##
- # Allows toggling Windows behavior. This method is available when requiring
- # 'rubygems/test_case'
+ # Allows toggling Windows behavior.
def self.win_platform=(val)
@@win_platform = val
end
##
- # Allows setting path to Ruby. This method is available when requiring
- # 'rubygems/test_case'
+ # Allows setting path to Ruby.
def self.ruby=(ruby)
@ruby = ruby
end
##
- # When rubygems/test_case is required the default user interaction is a
- # MockGemUi.
+ # Sets the default user interaction to a MockGemUi.
module DefaultUserInteraction
@ui = Gem::MockGemUi.new
@@ -88,8 +84,7 @@ require "rubygems/command"
class Gem::Command
##
- # Allows resetting the hash of specific args per command. This method is
- # available when requiring 'rubygems/test_case'
+ # Allows resetting the hash of specific args per command.
def self.specific_extra_args_hash=(value)
@specific_extra_args_hash = value
diff --git a/test/rubygems/test_utilities.rb b/test/rubygems/test_utilities.rb
index 08faef6578..20416fe70b 100644
--- a/test/rubygems/test_utilities.rb
+++ b/test/rubygems/test_utilities.rb
@@ -348,8 +348,6 @@ end
# A StringIO duck-typed class that uses Tempfile instead of String as the
# backing store.
#
-# This is available when rubygems/test_utilities is required.
-#--
# This class was added to flush out problems in Rubinius' IO implementation.
class TempIO < Tempfile