Skip to content

Commit

Permalink
Use unique email address for test
Browse files Browse the repository at this point in the history
Using the existing user email is only needed for the 'already registered' test.
:
  • Loading branch information
dacook committed Jan 25, 2024
1 parent 048619d commit 0638b9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/system/consumer/authentication_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
end

it "Failing to sign up because password confirmation doesn't match or is blank" do
fill_in "Your email", with: user.email
fill_in "Your email", with: "[email protected]"
fill_in "Choose a password", with: "ForgotToRetype"
click_signup_button
expect(page).to have_content "doesn't match"
Expand All @@ -112,7 +112,7 @@
InvisibleCaptcha.timestamp_enabled = true
InvisibleCaptcha.timestamp_threshold = 30

fill_in "Your email", with: user.email
fill_in "Your email", with: "[email protected]"
fill_in "Choose a password", with: "test12345"
fill_in "Confirm password", with: "test12345"
click_signup_button
Expand Down

0 comments on commit 0638b9e

Please sign in to comment.