Grab latest dependencies (#23)
Updates dependencies including latest Rails from main. Comes with two new depredations caused by https://github.com/rails/rails/pull/52422 Reviewed-on: #23
This commit is contained in:
parent
a705b07d01
commit
b8d928f4ea
8 changed files with 46 additions and 34 deletions
|
@ -1,5 +1,3 @@
|
|||
require "active_support/core_ext/integer/time"
|
||||
|
||||
# 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
|
||||
|
@ -18,7 +16,7 @@ Rails.application.configure do
|
|||
config.eager_load = ENV["CI"].present?
|
||||
|
||||
# Configure public file server for tests with Cache-Control for performance.
|
||||
config.public_file_server.headers = { "Cache-Control" => "public, max-age=#{1.hour.to_i}" }
|
||||
config.public_file_server.headers = { "Cache-Control" => "public, max-age=3600" }
|
||||
|
||||
# Show full error reports and disable caching.
|
||||
config.consider_all_requests_local = true
|
||||
|
@ -34,6 +32,8 @@ Rails.application.configure do
|
|||
# Store uploaded files on the local file system in a temporary directory.
|
||||
config.active_storage.service = :test
|
||||
|
||||
# Disable caching for Action Mailer templates even if Action Controller
|
||||
# caching is enabled.
|
||||
config.action_mailer.perform_caching = false
|
||||
|
||||
# Tell Action Mailer not to deliver emails to the real world.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue