Sha256: fc4ba168dc62e74f00cb9ef48d24ad33d173eea3945753c04653a2cb0fcd2b16

Contents?: true

Size: 1.27 KB

Versions: 4

Compression:

Stored size: 1.27 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

  # Configure static asset server for tests with Cache-Control for performance
  # config.serve_static_assets = true
  # 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

  # Raise exception on mass assignment protection for Active Record models
  # config.active_record.mass_assignment_sanitizer = :strict

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

  config.eager_load = false

  config.active_job.queue_adapter = :test
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
draper-4.0.1 spec/dummy/config/environments/test.rb
draper-4.0.0 spec/dummy/config/environments/test.rb
draper-3.1.0 spec/dummy/config/environments/test.rb
draper-3.0.1 spec/dummy/config/environments/test.rb