Sha256: 069bf1091e0453a4b451f95637ed0baa17e1ec07d107aaea81f9d4545a88c9f2
Contents?: true
Size: 557 Bytes
Versions: 8
Compression:
Stored size: 557 Bytes
Contents
# frozen_string_literal: true Devise.stretches = 1 RSpec.configure do |config| config.include Devise::Test::ControllerHelpers, :type => :controller [:system, :feature, :request].each do |type| config.include Devise::Test::IntegrationHelpers, :type => type config.include Warden::Test::Helpers, :type => type config.before(:all, :type => type) do |_example| Warden.test_mode! end end config.before(:each, :type => :controller) do |_example| @request.env['devise.mapping'] = Devise.mappings[:user] end end
Version data entries
8 entries across 8 versions & 1 rubygems