Skip to content

Commit 5f83206

Browse files
committed
Add test for unprocessable entity
1 parent 96d2ec2 commit 5f83206

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/integration/password_resets_test.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class PasswordResetsTest < PasswordResets
1919
test "reset path with invalid email" do
2020
post password_resets_path, params: { password_reset: { email: "" } }
2121
assert_not flash.empty?
22+
assert_response :unprocessable_entity
2223
assert_template 'password_resets/new'
2324
end
2425
end

0 commit comments

Comments
 (0)