Simplify auth logic

This commit is contained in:
Stanko K.R.
2025-12-16 18:23:04 +01:00
parent cddddcf83a
commit 1a1f4a077b
5 changed files with 50 additions and 45 deletions
+2 -1
View File
@@ -70,7 +70,8 @@ class SessionsControllerTest < ActionDispatch::IntegrationTest
post session_path, params: { email_address: "not-a-valid-email" }
end
assert_response :unprocessable_entity
assert_response :redirect
assert_redirected_to new_session_path
end
end
end