diff options
author | David RodrĂguez <deivid.rodriguez@riseup.net> | 2021-05-12 11:43:01 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-05-28 11:53:21 +0900 |
commit | 4fb3dd2c42a707a6298971991eb7eef23e415a20 (patch) | |
tree | 8112a017216c94d018ddcfebcbc5406c321415bd /test/rubygems | |
parent | f7732ae2eb5ae245aa3089475af8f81c08478349 (diff) |
[rubygems/rubygems] Remove no longer relevant commentsÂș
https://github.com/rubygems/rubygems/commit/8dfe1e30b5
Diffstat (limited to 'test/rubygems')
-rw-r--r-- | test/rubygems/test_case.rb | 15 | ||||
-rw-r--r-- | test/rubygems/test_utilities.rb | 2 |
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 |