mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Also added credential_setup to the some of tests
2ac557d008
This commit is contained in:
parent
58af4c0a1f
commit
ab1b31ffe0
Notes:
git
2020-05-08 14:14:06 +09:00
2 changed files with 5 additions and 0 deletions
|
@ -7,6 +7,8 @@ class TestGemCommandsYankCommand < Gem::TestCase
|
||||||
def setup
|
def setup
|
||||||
super
|
super
|
||||||
|
|
||||||
|
credential_setup
|
||||||
|
|
||||||
@cmd = Gem::Commands::YankCommand.new
|
@cmd = Gem::Commands::YankCommand.new
|
||||||
@cmd.options[:host] = 'http://example'
|
@cmd.options[:host] = 'http://example'
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,9 @@ class TestGemGemcutterUtilities < Gem::TestCase
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
super
|
super
|
||||||
|
|
||||||
|
credential_setup
|
||||||
|
|
||||||
# below needed for random testing, class property
|
# below needed for random testing, class property
|
||||||
Gem.configuration.disable_default_gem_server = nil
|
Gem.configuration.disable_default_gem_server = nil
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue