Testing controller

Jim Burgess wrote:

I wrote some tests for my controller which all worked as they should until I added http authentication using 'before_filter :authenticate'

Google (or use Google CodeSearch) and find login_as

Put it in your def setup, or in the top of each test:

   login_as :bob

Such a method should have come with your authentication plugin. If it doesn't work, read what's inside it, and match that to your current session usage.