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")