songtianlun
bd5c6ae6bb
- Update session creation to use safe navigation operator - Implement log_out method in SessionsHelper - Add session reset and login on user creation - Improve user login tests for better coverage These changes improve the user session management by ensuring that the session is handled more safely and efficiently. The addition of the log_out method centralizes session termination, while the updated tests ensure that both login and logout functionality are thoroughly validated. |
||
---|---|---|
.. | ||
controllers | ||
fixtures | ||
helpers | ||
integration | ||
mailers | ||
models | ||
system | ||
application_system_test_case.rb | ||
test_helper.rb |