Fix due to unit test when creating with invalid emails

This commit is contained in:
Fernando Olivares
2025-12-12 13:39:39 -06:00
committed by Stanko K.R.
parent fb487f598c
commit cddddcf83a
3 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ class SessionsControllerTest < ActionDispatch::IntegrationTest
post session_path, params: { email_address: "not-a-valid-email" }
end
assert_redirected_to session_magic_link_path
assert_response :unprocessable_entity
end
end
end