test/dummy_app/config/environments/test.rb in active_snapshot-0.1.0 vs test/dummy_app/config/environments/test.rb in active_snapshot-0.1.1
- old
+ new
@@ -6,11 +6,11 @@
# your test database is "scratch space" for the test suite and is wiped
# and recreated between test runs. Don't rely on the data there!
config.cache_classes = true
# Configure static asset server for tests with Cache-Control for performance
- config.serve_static_files = true
- config.public_file_server.enabled = true
+ config.serve_static_assets = true
+ config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' }
# Log error messages when you accidentally call methods on nil
config.whiny_nils = true
# Show full error reports and disable caching