summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-12-20 18:33:09 -0700
committermo khan <mo@mokhan.ca>2014-12-20 18:33:09 -0700
commitb6a1a436ecfbeba520038217eddba974bd63b1ad (patch)
tree79b03f14ea2c472bf93ec660c6bd59531509d2b8
parent8a5fdac78588e9f174282f4bc32f20abd2db24bc (diff)
fix static_assets config.
-rw-r--r--config/environments/test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb
index 924ead64..762da2fe 100644
--- a/config/environments/test.rb
+++ b/config/environments/test.rb
@@ -13,7 +13,8 @@ Rails.application.configure do
config.eager_load = false
# Configure static asset server for tests with Cache-Control for performance.
- config.serve_static_assets = true
+ config.serve_static_files = true
+
config.static_cache_control = "public, max-age=3600"
# Show full error reports and disable caching.