Sha256: d2e38b99b93d7ada229b3e7e11241bb755127384bb24fb822b9b7fd3b14d6e5c

Contents?: true

Size: 1.54 KB

Versions: 23

Compression:

Stored size: 1.54 KB

Contents

Dummy::Application.configure do
  # Settings specified here will take precedence over those in config/application.rb

  # The test environment is used exclusively to run your application's
  # test suite. You never need to work with it otherwise. Remember that
  # your test database is "scratch space" for the test suite and is wiped
  # and recreated between test runs. Don't rely on the data there!
  config.cache_classes = true
  config.eager_load = false

  # Configure static asset server for tests with Cache-Control for performance
  if Rails::VERSION::MAJOR == 4 && Rails::VERSION::MINOR >= 2 ||
    Rails::VERSION::MAJOR >= 5
    config.serve_static_files = true
  else
    config.serve_static_assets = true
  end

  config.static_cache_control = "public, max-age=3600"

  # Show full error reports and disable caching
  config.consider_all_requests_local       = true
  config.action_controller.perform_caching = false

  # Raise exceptions instead of rendering exception templates
  config.action_dispatch.show_exceptions = false

  # Disable request forgery protection in test environment
  config.action_controller.allow_forgery_protection    = false

  # Tell Action Mailer not to deliver emails to the real world.
  # The :test delivery method accumulates sent emails in the
  # ActionMailer::Base.deliveries array.
  config.action_mailer.delivery_method = :test

  # Print deprecation notices to the stderr
  config.active_support.deprecation = :stderr

  # For testing session variables in Capybara specs
  config.middleware.use RackSessionAccess::Middleware
end

Version data entries

23 entries across 23 versions & 4 rubygems

Version Path
devise-multi-factor-3.2.5 spec/rails_app/config/environments/test.rb
devise-multi-factor-3.2.4 spec/rails_app/config/environments/test.rb
devise-multi-factor-3.2.3 spec/rails_app/config/environments/test.rb
devise-multi-factor-3.2.2 spec/rails_app/config/environments/test.rb
devise_xfactor_authentication-2.2.23 spec/rails_app/config/environments/test.rb
devise_xfactor_authentication-2.2.22 spec/rails_app/config/environments/test.rb
devise_xfactor_authentication-2.2.21 spec/rails_app/config/environments/test.rb
devise_xfactor_authentication-2.2.20 spec/rails_app/config/environments/test.rb
devise_xfactor_authentication-2.2.19 spec/rails_app/config/environments/test.rb
devise_xfactor_authentication-2.2.18 spec/rails_app/config/environments/test.rb
devise-multi-factor-3.2.1 spec/rails_app/config/environments/test.rb
devise_two_factor_authentication-3.0.0 spec/rails_app/config/environments/test.rb
devise-multi-factor-3.2.0 spec/rails_app/config/environments/test.rb
devise-multi-factor-3.1.8 spec/rails_app/config/environments/test.rb
devise-multi-factor-3.1.7 spec/rails_app/config/environments/test.rb
devise-multi-factor-3.1.6 spec/rails_app/config/environments/test.rb
devise-multi-factor-3.1.5 spec/rails_app/config/environments/test.rb
two_factor_authentication-2.2.0 spec/rails_app/config/environments/test.rb
two_factor_authentication-2.1.1 spec/rails_app/config/environments/test.rb
two_factor_authentication-2.1.0 spec/rails_app/config/environments/test.rb