We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2174e23 commit d544026Copy full SHA for d544026
1 file changed
spec/helpers/devise/webauthn/credentials_helper_spec.rb
@@ -25,7 +25,7 @@ def have_hidden_credential_field
25
end
26
27
describe "#passkey_creation_form_for" do
28
- it "renders a form with webauthn_create element" do
+ it "renders a form with webauthn_create element and hidden credential field" do
29
html = helper.passkey_creation_form_for(user) do |form|
30
form.submit "Create Passkey"
31
@@ -47,7 +47,7 @@ def have_hidden_credential_field
47
48
49
describe "#login_with_passkey_form_for" do
50
- it "renders a form with webauthn_get element" do
+ it "renders a form with webauthn_get element and hidden credential field" do
51
html = helper.login_with_passkey_form_for(session_path: "/accounts/sign_in") do |form|
52
form.submit "Log in with passkeys"
53
0 commit comments