I defined a little method named auth_user in the ApplicationController of my app. I set it as a before_action in my SessionController.
auth_user
ApplicationController
before_action
SessionController
How can I stub out that auth_user method from the SessionController test?
Aucun commentaire:
Enregistrer un commentaire