summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/rubygems/test_gem_commands_push_command.rb2
-rw-r--r--test/rubygems/test_gem_commands_signin_command.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/rubygems/test_gem_commands_push_command.rb b/test/rubygems/test_gem_commands_push_command.rb
index e219ae170e..7efbcc77b4 100644
--- a/test/rubygems/test_gem_commands_push_command.rb
+++ b/test/rubygems/test_gem_commands_push_command.rb
@@ -446,7 +446,7 @@ class TestGemCommandsPushCommand < Gem::TestCase
["", 200, "OK"],
]
- @fetcher.data["#{@host}/api/v1/profile"] = [
+ @fetcher.data["#{@host}/api/v1/profile/me"] = [
[response_profile, 200, "OK"],
]
diff --git a/test/rubygems/test_gem_commands_signin_command.rb b/test/rubygems/test_gem_commands_signin_command.rb
index 7dc5d6d23a..bdd7690c41 100644
--- a/test/rubygems/test_gem_commands_signin_command.rb
+++ b/test/rubygems/test_gem_commands_signin_command.rb
@@ -172,7 +172,7 @@ class TestGemCommandsSigninCommand < Gem::TestCase
ENV['RUBYGEMS_HOST'] = host || Gem::DEFAULT_HOST
data_key = "#{ENV['RUBYGEMS_HOST']}/api/v1/api_key"
fetcher.data[data_key] = response
- profile = "#{ENV['RUBYGEMS_HOST']}/api/v1/profile"
+ profile = "#{ENV['RUBYGEMS_HOST']}/api/v1/profile/me"
fetcher.data[profile] = profile_response
Gem::RemoteFetcher.fetcher = fetcher