Friday, 22 March 2013 Request Specs With Devise & RSpec Working with request specs for apps secured using Devise can be tricky. I've recently been using the following approach to authenticate mock users for testing. The Problem The problem is that if you're using Devise within your application for user authentication you'll be securing down your controllers using a before filter. class InvoicesCon