Skip to content

Commit d544026

Browse files
committed
update test names
1 parent 2174e23 commit d544026

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

spec/helpers/devise/webauthn/credentials_helper_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def have_hidden_credential_field
2525
end
2626

2727
describe "#passkey_creation_form_for" do
28-
it "renders a form with webauthn_create element" do
28+
it "renders a form with webauthn_create element and hidden credential field" do
2929
html = helper.passkey_creation_form_for(user) do |form|
3030
form.submit "Create Passkey"
3131
end
@@ -47,7 +47,7 @@ def have_hidden_credential_field
4747
end
4848

4949
describe "#login_with_passkey_form_for" do
50-
it "renders a form with webauthn_get element" do
50+
it "renders a form with webauthn_get element and hidden credential field" do
5151
html = helper.login_with_passkey_form_for(session_path: "/accounts/sign_in") do |form|
5252
form.submit "Log in with passkeys"
5353
end

0 commit comments

Comments
 (0)