diff options
Diffstat (limited to 'spec/support/refinery.rb')
-rw-r--r-- | spec/support/refinery.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/support/refinery.rb b/spec/support/refinery.rb new file mode 100644 index 0000000..2b180db --- /dev/null +++ b/spec/support/refinery.rb @@ -0,0 +1,8 @@ +require 'refinery/testing/factories' +require 'refinery/testing/controller_macros' +require 'refinery/testing/request_macros' + +RSpec.configure do |config| + config.extend Refinery::ControllerMacros::Authentication, :type => :controller + config.extend Refinery::RequestMacros::Authentication, :type => :request +end |