-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from jbigler/main
Fix HTML Email Controller Test
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,8 +16,8 @@ class Identity::EmailsControllerTest < ActionDispatch::IntegrationTest | |
end | ||
|
||
|
||
test "should not update password with wrong password challenge" do | ||
patch password_url, params: { password_challenge: "SecretWrong1*3", password: "Secret6*4*2*", password_confirmation: "Secret6*4*2*" } | ||
test "should not update email with wrong password challenge" do | ||
patch identity_email_url, params: { email: "[email protected]", password_challenge: "SecretWrong1*3" } | ||
|
||
assert_response :unprocessable_entity | ||
assert_select "li", /Password challenge is invalid/ | ||
|