I’m creating some unit test to my controler, and most actions require
login. I’m using login engine to manage the login functionalities.
I would like to know how can I login a user in a functional test. This
is, the first thing that I would like to do is to login a user. This way
the response will return :success instead of :redirect.
Thanks in advance.