Sha256: 90f3c750caa3917ac537fcb84a7c7a7a596e2b3cf88af4b2d70e2f2ee40fb05e
Contents?: true
Size: 662 Bytes
Versions: 16
Compression:
Stored size: 662 Bytes
Contents
require "devise" require_relative "./login_macros" RSpec.configure do |config| config.include Devise::Test::ControllerHelpers, type: :controller config.include LoginMacros, type: :controller config.include Warden::Test::Helpers, type: :feature config.include LoginMacros, type: :feature config.include Warden::Test::Helpers, type: :request config.include LoginMacros, type: :request config.before(:each, type: :controller) do login_as_super_admin end config.before(:each, type: :request) do login_as_super_admin end config.before :suite do Warden.test_mode! end config.after :each do Warden.test_reset! end end
Version data entries
16 entries across 16 versions & 1 rubygems