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
Also, this commit improves the redirect behavior and uses the supplied Sorcery method for final redirect. Having a single approach for user sign-in and redirect allows future changes to the login workflow.
expect(controller.session).toreceive(:[]=).with(:return_to_url,implement_exercise_path(exercise)).and_call_original# Initial redirect by the controller
157
+
expect(controller.session).toreceive(:[]=).with(:return_to_url,nil).and_call_original# Clearing the URL as done by Sorcery
0 commit comments