For unit, controller, or integration tests, inject an authenticated user into a Rack session
Sean Doyle
MIT