refinerycms-blog/spec/support/refinery.rb

6 lines
237 B
Ruby

require 'refinerycms-testing'
RSpec.configure do |config|
config.extend Refinery::Testing::ControllerMacros::Authentication, :type => :controller
config.extend Refinery::Testing::RequestMacros::Authentication, :type => :request
end