Update validation message in spec
They seem to have shortened the default message.
This commit is contained in:
parent
c06e58a0fb
commit
eda1f3999f
@ -79,7 +79,7 @@ RSpec.describe "Signup", type: :feature do
|
|||||||
|
|
||||||
fill_in "user_email", with: "tony@"
|
fill_in "user_email", with: "tony@"
|
||||||
click_button "Continue"
|
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: ""
|
fill_in "user_email", with: ""
|
||||||
click_button "Continue"
|
click_button "Continue"
|
||||||
expect(page).to have_content("Email can't be blank")
|
expect(page).to have_content("Email can't be blank")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user