sample_rails_tailwind/test/integration
songtianlun f110f26c0b fix: ensure user logout only if logged in
- Update `destroy` action in `SessionsController` to log out
  only if the user is currently logged in.
- Add a check in the `authenticated?` method of the `User`
  model to return false if `remember_digest` is nil.
- Enhance integration tests to simulate logout in another
  browser session and verify that the logout link is not
  present after logging out.

These changes improve the robustness of the session management
by preventing unnecessary logout attempts and ensuring that
authentication checks are more reliable.
2025-01-02 17:17:09 +08:00
..
.keep init sample-app 2024-12-29 17:12:54 +08:00
site_layout_test.rb add some test 2024-12-31 00:37:02 +08:00
users_login_test.rb fix: ensure user logout only if logged in 2025-01-02 17:17:09 +08:00
users_signup_test.rb feat: enhance user session management 2025-01-02 11:59:27 +08:00