test/app/config/environments/test.rb in focused_controller-1.2.1 vs test/app/config/environments/test.rb in focused_controller-2.0.0

- old
+ new

@@ -6,10 +6,16 @@ # 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_assets = true + if config.respond_to?(:serve_static_files) + config.serve_static_files = true + else + # Remove when we drop Rails 4.1 + config.serve_static_assets = true + end + config.static_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