summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-04-29 07:29:49 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-05-08 14:13:29 +0900
commitab1b31ffe086dbc2aa780ae914f0eae1d7af8b5c (patch)
tree840917beabe0a71217421eedb7cbc220d65070a4
parent58af4c0a1fdf15e1624867938d5a9ce6be8403e3 (diff)
[rubygems/rubygems] Also added credential_setup to the some of tests
https://github.com/rubygems/rubygems/commit/2ac557d008
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3092
-rw-r--r--test/rubygems/test_gem_commands_yank_command.rb2
-rw-r--r--test/rubygems/test_gem_gemcutter_utilities.rb3
2 files changed, 5 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_yank_command.rb b/test/rubygems/test_gem_commands_yank_command.rb
index ad05d9a8ea..a9e4e03dea 100644
--- a/test/rubygems/test_gem_commands_yank_command.rb
+++ b/test/rubygems/test_gem_commands_yank_command.rb
@@ -7,6 +7,8 @@ class TestGemCommandsYankCommand < Gem::TestCase
def setup
super
+ credential_setup
+
@cmd = Gem::Commands::YankCommand.new
@cmd.options[:host] = 'http://example'
diff --git a/test/rubygems/test_gem_gemcutter_utilities.rb b/test/rubygems/test_gem_gemcutter_utilities.rb
index 03bb78271b..d82d6447e7 100644
--- a/test/rubygems/test_gem_gemcutter_utilities.rb
+++ b/test/rubygems/test_gem_gemcutter_utilities.rb
@@ -8,6 +8,9 @@ class TestGemGemcutterUtilities < Gem::TestCase
def setup
super
+
+ credential_setup
+
# below needed for random testing, class property
Gem.configuration.disable_default_gem_server = nil