diff options
author | Jamie Winsor <jamie@enmasse.com> | 2011-08-04 03:21:21 -0700 |
---|---|---|
committer | Jamie Winsor <jamie@enmasse.com> | 2011-08-04 03:21:21 -0700 |
commit | c3b7d0b1d2d23f87536078dc8cc2aa367d7730e4 (patch) | |
tree | 1050cfd3783c52dcc8cc494e5dca4c5077afa014 /spec/spec_helper.rb | |
parent | a23689a6aa738f5dd051d65b9e26e5d6bb7fa332 (diff) | |
download | refinerycms-blog-c3b7d0b1d2d23f87536078dc8cc2aa367d7730e4.tar.gz refinerycms-blog-c3b7d0b1d2d23f87536078dc8cc2aa367d7730e4.tar.bz2 refinerycms-blog-c3b7d0b1d2d23f87536078dc8cc2aa367d7730e4.zip |
Add request and controller authentication macros to rspec config
refactor request specs to take advantage of authentication macros
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |