From f13e1af81a27b26077912e52f256849ba9810c98 Mon Sep 17 00:00:00 2001 From: Daniel Baark <5101747+baarkerlounger@users.noreply.github.com> Date: Wed, 1 Dec 2021 11:37:13 +0000 Subject: [PATCH] Update spec/features/user_spec.rb Co-authored-by: Paul Robert Lloyd --- spec/features/user_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/user_spec.rb b/spec/features/user_spec.rb index ccc2790f5..cca238c70 100644 --- a/spec/features/user_spec.rb +++ b/spec/features/user_spec.rb @@ -105,7 +105,7 @@ RSpec.describe "User Features" do click_button("Sign in") expect(page).to have_selector("#error-summary-title") expect(page).to have_selector("#user-email-field-error") - expect(page).to have_content(/Email addess is not valid/) + expect(page).to have_content(/Enter an email address in the correct format, like name@example.com/) end end