aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_owner_command.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-06 06:01:14 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-04-06 06:01:14 +0000
commit469bac0f9233d8ad2b53bea2f382578634fabf65 (patch)
treeecb999b03efbe4272614f2ffb4069a3f2b8bbabe /test/rubygems/test_gem_commands_owner_command.rb
parentea736d55f9596e79184b9b4ade439c71530e86d8 (diff)
downloadruby-469bac0f9233d8ad2b53bea2f382578634fabf65.tar.gz
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.3.
Please see entries of 2.6.3 on https://github.com/rubygems/rubygems/blob/master/History.txt git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_owner_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_owner_command.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_owner_command.rb b/test/rubygems/test_gem_commands_owner_command.rb
index 7217f5cff0..44652c1093 100644
--- a/test/rubygems/test_gem_commands_owner_command.rb
+++ b/test/rubygems/test_gem_commands_owner_command.rb
@@ -19,7 +19,12 @@ class TestGemCommandsOwnerCommand < Gem::TestCase
response = <<EOF
---
- email: user1@example.com
+ id: 1
+ handle: user1
- email: user2@example.com
+- id: 3
+ handle: user3
+- id: 4
EOF
@fetcher.data["#{Gem.host}/api/v1/gems/freewill/owners.yaml"] = [response, 200, 'OK']
@@ -34,6 +39,8 @@ EOF
assert_match %r{Owners for gem: freewill}, @ui.output
assert_match %r{- user1@example.com}, @ui.output
assert_match %r{- user2@example.com}, @ui.output
+ assert_match %r{- user3}, @ui.output
+ assert_match %r{- 4}, @ui.output
end
def test_show_owners_setting_up_host_through_env_var