Functional Tests and Login Engine


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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs