Add request and controller authentication macros to rspec config

refactor request specs to take advantage of authentication macros
This commit is contained in:
Jamie Winsor 2011-08-04 03:21:21 -07:00
parent a23689a6aa
commit c3b7d0b1d2
4 changed files with 6 additions and 12 deletions

View file

@ -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