From 0638b9eea4aaa1f1823444fb7972de27bb1580ca Mon Sep 17 00:00:00 2001 From: David Cook Date: Thu, 25 Jan 2024 17:06:25 +1100 Subject: [PATCH] Use unique email address for test Using the existing user email is only needed for the 'already registered' test. : --- spec/system/consumer/authentication_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/consumer/authentication_spec.rb b/spec/system/consumer/authentication_spec.rb index 9581b4c4676..f4f23445904 100644 --- a/spec/system/consumer/authentication_spec.rb +++ b/spec/system/consumer/authentication_spec.rb @@ -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: "test@foo.com" fill_in "Choose a password", with: "ForgotToRetype" click_signup_button expect(page).to have_content "doesn't match" @@ -112,7 +112,7 @@ InvisibleCaptcha.timestamp_enabled = true InvisibleCaptcha.timestamp_threshold = 30 - fill_in "Your email", with: user.email + fill_in "Your email", with: "test@foo.com" fill_in "Choose a password", with: "test12345" fill_in "Confirm password", with: "test12345" click_signup_button