Skip to content

Commit 4454885

Browse files
committed
Not worth the active support require line
1 parent 009f767 commit 4454885

File tree

1 file changed

+1
-3
lines changed
  • railties/lib/rails/generators/rails/app/templates/config/environments

1 file changed

+1
-3
lines changed

railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
require "active_support/core_ext/integer/time"
2-
31
# The test environment is used exclusively to run your application's
42
# test suite. You never need to work with it otherwise. Remember that
53
# your test database is "scratch space" for the test suite and is wiped
@@ -18,7 +16,7 @@ Rails.application.configure do
1816
config.eager_load = ENV["CI"].present?
1917

2018
# 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" }
2220

2321
# Show full error reports and disable caching.
2422
config.consider_all_requests_local = true

0 commit comments

Comments
 (0)