From c3b7d0b1d2d23f87536078dc8cc2aa367d7730e4 Mon Sep 17 00:00:00 2001 From: Jamie Winsor Date: Thu, 4 Aug 2011 03:21:21 -0700 Subject: Add request and controller authentication macros to rspec config refactor request specs to take advantage of authentication macros --- spec/spec_helper.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'spec/spec_helper.rb') diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 44506ce..5a8d67c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -42,6 +42,8 @@ Spork.prefork do end config.include Devise::TestHelpers, :type => :controller + config.extend Refinery::ControllerMacros::Authentication, :type => :controller + config.extend Refinery::RequestMacros::Authentication, :type => :request end end -- cgit v1.2.3