diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_push_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_push_command.rb | 4 |
1 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 7efbcc77b4..1bbd341eca 100644 --- a/test/rubygems/test_gem_commands_push_command.rb +++ b/test/rubygems/test_gem_commands_push_command.rb @@ -435,7 +435,7 @@ class TestGemCommandsPushCommand < Gem::TestCase response_mfa_enabled = "You have enabled multifactor authentication but your request doesn't have the correct OTP code. Please check it and retry." response_success = 'Successfully registered gem: freewill (1.0.0)' - response_profile = {"mfa" => "disabled"}.to_json + response_profile = "mfa: disabled\n" @fetcher.data["#{@host}/api/v1/gems"] = [ [response_success, 200, "OK"], @@ -446,7 +446,7 @@ class TestGemCommandsPushCommand < Gem::TestCase ["", 200, "OK"], ] - @fetcher.data["#{@host}/api/v1/profile/me"] = [ + @fetcher.data["#{@host}/api/v1/profile/me.yaml"] = [ [response_profile, 200, "OK"], ] |