Sha256: 4f006067b0b2b97b156d0089866e5b6dbc144c9212c9b8419099e325e1287518
Contents?: true
Size: 850 Bytes
Versions: 62
Compression:
Stored size: 850 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 Warden::Test::Helpers, type: :system config.include Devise::Test::IntegrationHelpers, type: :system config.include LoginMacros, type: :system 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
62 entries across 62 versions & 1 rubygems
Version | Path |
---|---|
renalware-core-2.0.69 | spec/support/devise_spec_helper.rb |
renalware-core-2.0.68 | spec/support/devise_spec_helper.rb |