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
Upgrade our app from Rails 3.2 to Rails 4.1.5. When I run the app in development mode I can access Devise's current user within a Sweeper's callback. However, when I run tests current_user is nil.
The same code works fine when running tests in 3.2. Could there possibly be some gem load order problem when I'm running tests that might be causing this?
The text was updated successfully, but these errors were encountered:
Upgrade our app from Rails 3.2 to Rails 4.1.5. When I run the app in development mode I can access Devise's current user within a Sweeper's callback. However, when I run tests current_user is nil.
The same code works fine when running tests in 3.2. Could there possibly be some gem load order problem when I'm running tests that might be causing this?
The text was updated successfully, but these errors were encountered: