Ruby on Rails Testing – login gotcha
The Ruby on Rails web application I’m finishing has an administrator interface that allows an admin to manage users, generate reports, etc. Some of these admin functions (like the reports) are not controlled by the admin controller. Of course, to actually test any of the controllers I need to be logged in as [...]