Skip to content

Commit

Permalink
Change error message to include 10 digits.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tscasady committed May 12, 2023
1 parent 2e1c161 commit 35fcbd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/system/devise/passwords/new_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

click_on "Send me reset password instructions"
expect(page).to have_content "1 error prohibited this User from being saved:"
expect(page).to have_text("Phone number must be 12 digits including country code (+1)")
expect(page).to have_text("Phone number must be 10 digits or 12 digits including country code (+1)")
end

it "displays error if user tries to submit empty form" do
Expand Down

0 comments on commit 35fcbd5

Please sign in to comment.