Sha256: 4a330a090afe5fa9911711a8623abe1322e5d59638d28db2bd2c74872ad63cdf

Contents?: true

Size: 1.3 KB

Versions: 61

Compression:

Stored size: 1.3 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.public_file_server.enabled = true
  config.public_file_server.headers = { '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

  config.eager_load = false

  # Raise exceptions instead of rendering exception templates
  config.action_dispatch.show_exceptions = 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
  ActionMailer::Base.default from: "spree@example.com"

  # Raise on deprecation warnings
  if ENV['SOLIDUS_RAISE_DEPRECATIONS'].present?
    Spree::Deprecation.behavior = :raise
  end
end

Version data entries

61 entries across 61 versions & 9 rubygems

Version Path
solidus_reports-1.0.0 spec/dummy/config/environments/test.rb
solidus_core-2.10.5 lib/generators/spree/dummy/templates/rails/test.rb
solidus_six_saferpay-0.5.0 spec/dummy/config/environments/test.rb
solidus_core-2.11.3 lib/generators/spree/dummy/templates/rails/test.rb
solidus_core-2.11.2 lib/generators/spree/dummy/templates/rails/test.rb
solidus_auth_devise-2.5.2 spec/dummy/config/environments/test.rb
solidus_core-2.11.1 lib/generators/spree/dummy/templates/rails/test.rb
solidus_core-2.10.3 lib/generators/spree/dummy/templates/rails/test.rb
solidus_core-2.11.0 lib/generators/spree/dummy/templates/rails/test.rb
solidus_auth_devise-2.5.1 spec/dummy/config/environments/test.rb
solidus_auth_devise-2.5.0 spec/dummy/config/environments/test.rb
solidus_reviews-1.4.1 spec/dummy/config/environments/test.rb
solidus_core-2.10.2 lib/generators/spree/dummy/templates/rails/test.rb
solidus_core-2.9.6 lib/generators/spree/dummy/templates/rails/test.rb
solidus_core-2.8.6 lib/generators/spree/dummy/templates/rails/test.rb
solidus_six_saferpay-0.4.0 spec/dummy/config/environments/test.rb
solidus_six_saferpay-0.3.0 spec/dummy/config/environments/test.rb
solidus_six_saferpay-0.1.8.1 spec/dummy/config/environments/test.rb
solidus_six_saferpay-0.2.0 spec/dummy/config/environments/test.rb
solidus_core-2.10.1 lib/generators/spree/dummy/templates/rails/test.rb