aboutsummaryrefslogtreecommitdiffstats
path: root/spec/support/refinery.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/refinery.rb')
-rw-r--r--spec/support/refinery.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/support/refinery.rb b/spec/support/refinery.rb
new file mode 100644
index 0000000..d761787
--- /dev/null
+++ b/spec/support/refinery.rb
@@ -0,0 +1,6 @@
+require 'refinerycms-testing'
+
+RSpec.configure do |config|
+ config.extend Refinery::Testing::ControllerMacros::Authentication, :type => :controller
+ config.extend Refinery::Testing::RequestMacros::Authentication, :type => :request
+end