8000 [rubygems/rubygems] test(ruby): fix spelling · github/ruby@d064fd0 · GitHub
[go: up one dir, main page]

Skip to content

Commit d064fd0

Browse files
jbamptonhsbt
authored andcommitted
[rubygems/rubygems] test(ruby): fix spelling
rubygems/rubygems@398bc1365e
1 parent f88d67d commit d064fd0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/rubygems/test_gem_commands_owner_command.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def test_with_webauthn_enabled_failure_with_polling
476476
refute_match response_success, @stub_ui.output
477477
end
478478

479-
def test_remove_owners_unathorized_api_key
479+
def test_remove_owners_unauthorized_api_key
480480
response_forbidden = "The API key doesn't have access"
481481
response_success = "Owner removed successfully."
482482

@@ -541,7 +541,7 @@ def test_add_owners_no_api_key_webauthn_enabled_does_not_reuse_otp_codes
541541
assert_empty reused_otp_codes
542542
end
543543

544-
def test_add_owners_unathorized_api_key
544+
def test_add_owners_unauthorized_api_key
545545
response_forbidden = "The API key doesn't have access"
546546
response_success = "Owner added successfully."
547547

test/rubygems/test_gem_commands_push_command.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def test_with_webauthn_enabled_failure_with_polling
566566
refute_match response_success, @ui.output
567567
end
568568

569-
def test_sending_gem_unathorized_api_key_with_mfa_enabled
569+
def test_sending_gem_unauthorized_api_key_with_mfa_enabled
570570
response_mfa_enabled = "You have enabled multifactor authentication but your request doesn't have the correct OTP code. Please check it and retry."
571571
response_forbidden = "The API key doesn't have access"
572572
response_success = "Successfully registered gem: freewill (1.0.0)"

test/rubygems/test_gem_commands_yank_command.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def test_execute_host
271271
assert_equal [yank_uri], @fetcher.paths
272272
end
273273

274-
def test_yank_gem_unathorized_api_key
274+
def test_yank_gem_unauthorized_api_key
275275
response_forbidden = "The API key doesn't have access"
276276
response_success = "Successfully yanked"
277277
host = "http://example"

0 commit comments

Comments
 (0)
0