From eda1f3999f781739898446f16b7abf9b797faffd Mon Sep 17 00:00:00 2001 From: Sebastian Kippe Date: Sat, 12 Feb 2022 14:10:04 -0600 Subject: [PATCH] Update validation message in spec They seem to have shortened the default message. --- spec/features/signup_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/signup_spec.rb b/spec/features/signup_spec.rb index 07cfa09..8b730c2 100644 --- a/spec/features/signup_spec.rb +++ b/spec/features/signup_spec.rb @@ -79,7 +79,7 @@ RSpec.describe "Signup", type: :feature do fill_in "user_email", with: "tony@" click_button "Continue" - expect(page).to have_content("Email is not a valid address") + expect(page).to have_content("Email is invalid") fill_in "user_email", with: "" click_button "Continue" expect(page).to have_content("Email can't be blank")