Topic: Testing controllers which require authentication
I'm using acts_as_authenticated to manage users and so, have an account controller which has the login function which then redirects to an admin controller (all actions in the admin controller are protected with before_filter :login_required).
Acts_as_authenticated made a account_controller_test for me which has the login test in, but then in my admin controller test, how do I make it so that a user is logged in before any of the admin controller tests are run?