Re: [rspec-users] RSpec with devise test helpers

2013-10-22 Thread Zach Dennis
Can you provide a gist of your spec helper, controller spec, and controller implementation? On Wed, Oct 16, 2013 at 3:17 PM, Paul Ols wrote: > I've set my Rails (engine) project to include devise and other tools > like FactoryGirl. > I'd like to write some tests with contexts around anon/authen

[rspec-users] RSpec with devise test helpers

2013-10-16 Thread Paul Ols
I've set my Rails (engine) project to include devise and other tools like FactoryGirl. I'd like to write some tests with contexts around anon/authenticated users. In my spec_helper.rb's RSpec.configure block, I have this: config.include Devise::TestHelpers, type: :controller Which gives me this,