We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81491bf commit 74db84bCopy full SHA for 74db84b
test/rails_app/config/environments/test.rb
@@ -9,13 +9,8 @@
9
config.eager_load = false
10
11
# Configure static asset server for tests with Cache-Control for performance
12
- if Rails.version >= "5"
13
- config.public_file_server.enabled = true
14
- config.public_file_server.headers = {'Cache-Control' => 'public, max-age=3600'}
15
- else
16
- config.serve_static_files = true
17
- config.static_cache_control = "public, max-age=3600"
18
- end
+ config.public_file_server.enabled = true
+ config.public_file_server.headers = {'Cache-Control' => 'public, max-age=3600'}
19
20
# Show full error reports and disable caching
21
config.consider_all_requests_local = true
0 commit comments