spec/dummy/config/environments/test.rb in stationed-0.5.0 vs spec/dummy/config/environments/test.rb in stationed-0.6.0
- old
+ new
@@ -12,10 +12,10 @@
# preloads Rails for running tests, you may have to set it to true.
config.eager_load = false
# Configure static asset server for tests with Cache-Control for performance.
config.serve_static_assets = true
- config.static_cache_control = "public, max-age=3600"
+ 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