Sha256: 8a184ed59149f7cd3861f3135155a667c7066c6a5039e6ac6de7245967d192de
Contents?: true
Size: 687 Bytes
Versions: 50
Compression:
Stored size: 687 Bytes
Contents
# frozen_string_literal: true 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 do Warden.test_reset! end end
Version data entries
50 entries across 50 versions & 1 rubygems