mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Spec for missing password confirmation
This commit is contained in:
committed by
Maikel Linke
parent
483db2bc29
commit
a76b64b80b
@@ -67,6 +67,13 @@ feature "Authentication", js: true, retry: 3 do
|
||||
expect(page).to have_content "There's already an account for this email."
|
||||
end
|
||||
|
||||
scenario "Failing to sign up because password confirmation doesn't match or is blank" do
|
||||
fill_in "Email", with: user.email
|
||||
fill_in "Choose a password", with: "ForgotToRetype"
|
||||
click_signup_button
|
||||
expect(page).to have_content "doesn't match"
|
||||
end
|
||||
|
||||
scenario "Signing up successfully" do
|
||||
fill_in "Email", with: "test@foo.com"
|
||||
fill_in "Choose a password", with: "test12345"
|
||||
|
||||
Reference in New Issue
Block a user