summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Bampton <[email protected]>2025-05-27 10:45:53 +1000
committerHiroshi SHIBATA <[email protected]>2025-05-28 13:34:40 +0900
commitd064fd067b2045dcfcd1535054cc72b843b9402e ()
tree04c3627720f47b71119caef972c2f74d13d89f6f
parentf88d67db3484ce02da616f2c69ee569fc1c369e5 (diff)
[rubygems/rubygems] test(ruby): fix spelling
https://.com/rubygems/rubygems/commit/398bc1365e
-rw-r--r--test/rubygems/test_gem_commands_owner_command.rb4
-rw-r--r--test/rubygems/test_gem_commands_push_command.rb2
-rw-r--r--test/rubygems/test_gem_commands_yank_command.rb2
3 files changed, 4 insertions, 4 deletions
@@ -476,7 +476,7 @@ EOF
refute_match response_success, @stub_ui.output
end
- def test_remove_owners_unathorized_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
response_forbidden = "The API key doesn't have access"
response_success = "Owner added successfully."
@@ -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
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)"
@@ -271,7 +271,7 @@ class TestGemCommandsYankCommand < Gem::TestCase
assert_equal [yank_uri], @fetcher.paths
end
- def test_yank_gem_unathorized_api_key
response_forbidden = "The API key doesn't have access"
response_success = "Successfully yanked"
host = "http://example"