Browse Source

Update spec/features/user_spec.rb

Co-authored-by: Paul Robert Lloyd <paulrobertlloyd@users.noreply.github.com>
pull/119/head^2
Daniel Baark 4 years ago committed by GitHub
parent
commit
f13e1af81a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      spec/features/user_spec.rb

2
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

Loading…
Cancel
Save