Sha256: 901b2099d8d5c8e60f3424cc74907b0ec643dc6b120af8a46887b6dd85324a30

Contents?: true

Size: 1.22 KB

Versions: 6

Compression:

Stored size: 1.22 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_files = 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

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

  config.eager_load = true

  config.i18n.default_locale = :fr

  Rails.application.routes.default_url_options = { host: "localhost", port: "3000", scheme: "http"}
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
envvy-1.0.6 test/dummy_app/config/environments/test.rb
envvy-1.0.5 test/dummy_app/config/environments/test.rb
envvy-1.0.4 test/dummy_app/config/environments/test.rb
envvy-1.0.3 test/dummy_app/config/environments/test.rb
envvy-1.0.2 test/dummy_app/config/environments/test.rb
envvy-1.0.1 test/dummy_app/config/environments/test.rb