File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
railties/lib/rails/generators/rails/app/templates/config/environments Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 1
- require "active_support/core_ext/integer/time"
2
-
3
1
# The test environment is used exclusively to run your application's
4
2
# test suite. You never need to work with it otherwise. Remember that
5
3
# your test database is "scratch space" for the test suite and is wiped
@@ -18,7 +16,7 @@ Rails.application.configure do
18
16
config.eager_load = ENV["CI"].present?
19
17
20
18
# Configure public file server for tests with Cache-Control for performance.
21
- config.public_file_server.headers = { "Cache-Control" => "public, max-age=#{1.hour.to_i} " }
19
+ config.public_file_server.headers = { "Cache-Control" => "public, max-age=3600 " }
22
20
23
21
# Show full error reports and disable caching.
24
22
config.consider_all_requests_local = true
You can’t perform that action at this time.
0 commit comments