You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling User.create has the side effect of logging the user in because of the call:
before_save :maintain_sessions
in session_maintenance.rb
This could be a major issue in a number of circumstances, but caused me quite a bit of trouble when trying to figure out why my tests were failing when I created a user in the setup method. Some tests with require_no_user or otherwise requiring a user not be logged in are affected.
The text was updated successfully, but these errors were encountered:
Calling User.create has the side effect of logging the user in because of the call:
before_save :maintain_sessions
in session_maintenance.rb
This could be a major issue in a number of circumstances, but caused me quite a bit of trouble when trying to figure out why my tests were failing when I created a user in the setup method. Some tests with require_no_user or otherwise requiring a user not be logged in are affected.
The text was updated successfully, but these errors were encountered: