Integration Testing: it can span multiple controllers and actions with full session support. Login and logout examples
Updating
Updated version of the test on mailer
Before you test your actions, our application expects a logged-in user. So, i need to simulate a logged-in user. Job for a test helper