Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
As of rspec-rails-2.0.0 and devise-1.1, the best way to put devise in your specs is simply to add the following into spec_helper:
RSpec.configure do |config|
config.include Devise::TestHelpers, :type => :controller
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment