[rubygems/rubygems] test(ruby): fix spelling

https://github.com/rubygems/rubygems/commit/398bc1365e
This commit is contained in:
John Bampton 2025-05-27 10:45:53 +10:00 committed by Hiroshi SHIBATA
parent f88d67db34
commit d064fd067b
3 changed files with 4 additions and 4 deletions

View File

@ -476,7 +476,7 @@ EOF
refute_match response_success, @stub_ui.output
end
def test_remove_owners_unathorized_api_key
def test_remove_owners_unauthorized_api_key
response_forbidden = "The API key doesn't have access"
response_success = "Owner removed successfully."
@ -541,7 +541,7 @@ EOF
assert_empty reused_otp_codes
end
def test_add_owners_unathorized_api_key
def test_add_owners_unauthorized_api_key
response_forbidden = "The API key doesn't have access"
response_success = "Owner added successfully."

View File

@ -566,7 +566,7 @@ class TestGemCommandsPushCommand < Gem::TestCase
refute_match response_success, @ui.output
end
def test_sending_gem_unathorized_api_key_with_mfa_enabled
def test_sending_gem_unauthorized_api_key_with_mfa_enabled
response_mfa_enabled = "You have enabled multifactor authentication but your request doesn't have the correct OTP code. Please check it and retry."
response_forbidden = "The API key doesn't have access"
response_success = "Successfully registered gem: freewill (1.0.0)"

View File

@ -271,7 +271,7 @@ class TestGemCommandsYankCommand < Gem::TestCase
assert_equal [yank_uri], @fetcher.paths
end
def test_yank_gem_unathorized_api_key
def test_yank_gem_unauthorized_api_key
response_forbidden = "The API key doesn't have access"
response_success = "Successfully yanked"
host = "http://example"