Sha256: 9a60cf91cc0b6dcc6435e0c7d062010b401a6fe059e36d3b6023e15e2c43b091
Contents?: true
Size: 672 Bytes
Versions: 32
Compression:
Stored size: 672 Bytes
Contents
require "rspec/rails" require "clearance/testing/deny_access_matcher" require "clearance/testing/controller_helpers" require "clearance/testing/view_helpers" RSpec.configure do |config| config.include Clearance::Testing::Matchers, type: :controller config.include Clearance::Testing::ControllerHelpers, type: :controller config.include Clearance::Testing::ViewHelpers, type: :view config.include Clearance::Testing::ViewHelpers, type: :helper config.before(:each, type: :view) do view.extend Clearance::Testing::ViewHelpers::CurrentUser end config.before(:each, type: :helper) do view.extend Clearance::Testing::ViewHelpers::CurrentUser end end
Version data entries
32 entries across 32 versions & 1 rubygems