summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_sources_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2020-02-01 11:14:04 +0900
committerHiroshi SHIBATA <[email protected]>2020-02-01 11:14:57 +0900
commit600a715c9bde99fe2e9a669465d78833445273e8 ()
tree8244622e8cc02b40dd0dad29d30fc60a11342396 /test/rubygems/test_gem_commands_sources_command.rb
parentadc303131187654d8ce83f3db17eefa3d5bae26c (diff)
Merge the current master branch of rubygems/rubygems.
Just started to develop RubyGems 3.2.0.
-rw-r--r--test/rubygems/test_gem_commands_sources_command.rb40
1 files changed, 39 insertions, 1 deletions
@@ -247,7 +247,7 @@ source http://gems.example.com/ already present in the cache
end
def test_execute_add_http_rubygems_org
- http_rubygems_org = 'http://rubygems.org'
spec_fetcher do |fetcher|
fetcher.spec 'a', 1
@@ -284,6 +284,44 @@ source http://gems.example.com/ already present in the cache
assert_empty @ui.error
end
def test_execute_add_bad_uri
@cmd.handle_options %w[--add beta-gems.example.com]