aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_webauthn_poller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_webauthn_poller.rb')
-rw-r--r--test/rubygems/test_webauthn_poller.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rubygems/test_webauthn_poller.rb b/test/rubygems/test_webauthn_poller.rb
index 776deba9cc..23c24faa11 100644
--- a/test/rubygems/test_webauthn_poller.rb
+++ b/test/rubygems/test_webauthn_poller.rb
@@ -72,7 +72,7 @@ class WebauthnPollerTest < Gem::TestCase
msg: "OK"
)
- assert_raises Timeout::Error do
+ assert_raise Timeout::Error do
Timeout.timeout(0.1) do
Gem::GemcutterUtilities::WebauthnPoller.new({}, @host).poll_for_otp(@webauthn_url, @credentials)
end
@@ -86,7 +86,7 @@ class WebauthnPollerTest < Gem::TestCase
msg: "Unauthorized"
)
- error = assert_raises Gem::WebauthnVerificationError do
+ error = assert_raise Gem::WebauthnVerificationError do
Gem::GemcutterUtilities::WebauthnPoller.new({}, @host).poll_for_otp(@webauthn_url, @credentials)
end
@@ -100,7 +100,7 @@ class WebauthnPollerTest < Gem::TestCase
msg: "OK"
)
- error = assert_raises Gem::WebauthnVerificationError do
+ error = assert_raise Gem::WebauthnVerificationError do
Gem::GemcutterUtilities::WebauthnPoller.new({}, @host).poll_for_otp(@webauthn_url, @credentials)
end
@@ -114,7 +114,7 @@ class WebauthnPollerTest < Gem::TestCase
msg: "OK"
)
- error = assert_raises Gem::WebauthnVerificationError do
+ error = assert_raise Gem::WebauthnVerificationError do
Gem::GemcutterUtilities::WebauthnPoller.new({}, @host).poll_for_otp(@webauthn_url, @credentials)
end