mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
parent
f88d67db34
commit
d064fd067b
3 changed files with 4 additions and 4 deletions
|
@ -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."
|
||||
|
||||
|
|
|
@ -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)"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue