Sha256: 0dbbdba66e597421ac8bb99e421d5ab8d163858c4f40edf18cf03ea761c4c46d

Contents?: true

Size: 1.15 KB

Versions: 7

Compression:

Stored size: 1.15 KB

Contents

App::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"

  # Log error messages when you accidentally call methods on nil
  config.whiny_nils = true

  # 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

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
controll-0.3.2 spec/controll_app/config/environments/test.rb
controll-0.3.1 spec/controll_app/config/environments/test.rb
focused_controller-1.0.0 test/app/config/environments/test.rb
controll-0.3.0 spec/controll_app/config/environments/test.rb
controll-0.2.0 spec/app/config/environments/test.rb
focused_controller-0.2.0 test/app/config/environments/test.rb
focused_controller-0.1.0 test/app/config/environments/test.rb