Topic: Integration Test, How to 'log in' act as logged in user
Im doing some integration tests on my site
My site uses 'authenticaed_system' or some similar plug in Auth system in rails 2.3.8
im trying to test some Controllers + Actions that a user needs to be logged in to view, so far all my tests can't get around the before_filter that checks to see if the user is logged in..
the Logged in method inside my Authentication System is looking for 'current_account' which is set when someone logs in.
I tried setting this within my test but it doesnt seem to work.
anyone have any idea how i can test as a logged in user?