How should I test this method on my ApplicationController:
ApplicationController
def success render nothing: true, status :okend
I've tried using controller.call(:success), but it returns an error. Any ideas ?
controller.call(:success)
Additional Info: I'm using rspec
rspec
Aucun commentaire:
Enregistrer un commentaire