aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems
diff options
context:
space:
mode:
authorJenny Shen <jenny.shen@shopify.com>2022-09-19 09:43:17 -0400
committergit <svn-admin@ruby-lang.org>2022-09-29 17:56:36 +0900
commit28840d74c26189f4e730b906c2383e32ea6165fe (patch)
tree899089365e6c24d9942428cb1476429298055a28 /test/rubygems
parent0522e31d57d2e777ce01eb12bc44f19c09b8f259 (diff)
downloadruby-28840d74c26189f4e730b906c2383e32ea6165fe.tar.gz
[rubygems/rubygems] Refine error message to check the push URL instead of just the host
https://github.com/rubygems/rubygems/commit/46990f3292
Diffstat (limited to 'test/rubygems')
-rw-r--r--test/rubygems/test_gem_commands_owner_command.rb8
-rw-r--r--test/rubygems/test_gem_commands_push_command.rb2
-rw-r--r--test/rubygems/test_gem_commands_signin_command.rb2
3 files changed, 6 insertions, 6 deletions
diff --git a/test/rubygems/test_gem_commands_owner_command.rb b/test/rubygems/test_gem_commands_owner_command.rb
index e415f4bd37..32bfbb7a66 100644
--- a/test/rubygems/test_gem_commands_owner_command.rb
+++ b/test/rubygems/test_gem_commands_owner_command.rb
@@ -137,7 +137,7 @@ EOF
end
end
- response = "The request has redirected permanently to #{redirected_uri}. Please check your defined push host."
+ response = "The request has redirected permanently to #{redirected_uri}. Please check your defined push host URL."
assert_match response, @stub_ui.output
end
@@ -198,7 +198,7 @@ EOF
@cmd.add_owners("freewill", ["user-new1@example.com"])
end
- response = "The request has redirected permanently to #{redirected_uri}. Please check your defined push host."
+ response = "The request has redirected permanently to #{redirected_uri}. Please check your defined push host URL."
assert_match response, @stub_ui.output
end
@@ -276,7 +276,7 @@ EOF
@cmd.remove_owners("freewill", ["user-remove1@example.com"])
end
- response = "The request has redirected permanently to #{redirected_uri}. Please check your defined push host."
+ response = "The request has redirected permanently to #{redirected_uri}. Please check your defined push host URL."
assert_match response, @stub_ui.output
path = "/api/v1/gems/freewill/owners"
@@ -293,7 +293,7 @@ EOF
@cmd.add_owners("freewill", ["user-new1@example.com"])
end
- response = "The request has redirected permanently to #{redirected_uri}. Please check your defined push host."
+ response = "The request has redirected permanently to #{redirected_uri}. Please check your defined push host URL."
assert_match response, @stub_ui.output
end
diff --git a/test/rubygems/test_gem_commands_push_command.rb b/test/rubygems/test_gem_commands_push_command.rb
index 5ce6bd161b..ef7730558d 100644
--- a/test/rubygems/test_gem_commands_push_command.rb
+++ b/test/rubygems/test_gem_commands_push_command.rb
@@ -342,7 +342,7 @@ class TestGemCommandsPushCommand < Gem::TestCase
end
end
- response = "The request has redirected permanently to #{redirected_uri}. Please check your defined push host."
+ response = "The request has redirected permanently to #{redirected_uri}. Please check your defined push host URL."
assert_match response, @ui.output
end
diff --git a/test/rubygems/test_gem_commands_signin_command.rb b/test/rubygems/test_gem_commands_signin_command.rb
index 47b45e9be8..281e4f9eac 100644
--- a/test/rubygems/test_gem_commands_signin_command.rb
+++ b/test/rubygems/test_gem_commands_signin_command.rb
@@ -92,7 +92,7 @@ class TestGemCommandsSigninCommand < Gem::TestCase
end
end
- response = "The request has redirected permanently to #{redirected_uri}. Please check your defined push host."
+ response = "The request has redirected permanently to #{redirected_uri}. Please check your defined push host URL."
assert_match response, ui.output
end