Skip to content

Commit

Permalink
tests for wording
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-s76 committed Mar 26, 2024
1 parent 875287c commit 5c2703e
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ defmodule RecognizerWeb.Accounts.UserSettingsControllerTest do
})

response = html_response(old_password_conn, 200)
assert response =~ "Change Password</h2>"
assert response =~ "Update Password</h2>"
assert response =~ "must contain a number"
assert response =~ "does not match password"
assert response =~ "is not valid"
Expand Down Expand Up @@ -87,7 +87,7 @@ defmodule RecognizerWeb.Accounts.UserSettingsControllerTest do
})

response = html_response(conn, 200)
assert response =~ "Change Profile</h2>"
assert response =~ "Update Profile</h2>"
assert response =~ "must have the @ sign, no spaces and a top level domain"
end

Expand All @@ -99,7 +99,7 @@ defmodule RecognizerWeb.Accounts.UserSettingsControllerTest do
})

response = html_response(conn, 200)
assert response =~ "Change Profile</h2>"
assert response =~ "Update Profile</h2>"
assert response =~ "must not contain special characters"
end

Expand All @@ -111,7 +111,7 @@ defmodule RecognizerWeb.Accounts.UserSettingsControllerTest do
})

response = html_response(conn, 200)
assert response =~ "Change Profile</h2>"
assert response =~ "Update Profile</h2>"
assert response =~ "must not contain special characters"
end

Expand Down

0 comments on commit 5c2703e

Please sign in to comment.