diff options
Diffstat (limited to 'config/environments/test.rb')
| -rw-r--r-- | config/environments/test.rb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb index 858bebb..a23c6d4 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb | |||
| @@ -2,9 +2,6 @@ Cccms::Application.configure do | |||
| 2 | 2 | ||
| 3 | config.cache_classes = true | 3 | config.cache_classes = true |
| 4 | 4 | ||
| 5 | # Log error messages when you accidentally call methods on nil. | ||
| 6 | # config.whiny_nils = true # removed in Rails 4 | ||
| 7 | |||
| 8 | config.action_controller.consider_all_requests_local = true | 5 | config.action_controller.consider_all_requests_local = true |
| 9 | config.action_controller.perform_caching = false | 6 | config.action_controller.perform_caching = false |
| 10 | 7 | ||
| @@ -16,7 +13,7 @@ Cccms::Application.configure do | |||
| 16 | config.active_support.test_order = :sorted | 13 | config.active_support.test_order = :sorted |
| 17 | 14 | ||
| 18 | config.eager_load = false | 15 | config.eager_load = false |
| 19 | config.serve_static_files = true | 16 | config.public_file_server.enabled = true |
| 20 | config.static_cache_control = "public, max-age=3600" | 17 | config.public_file_server.headers = { 'Cache-Control' => 'public, max-age=3600' } |
| 21 | config.assets.compile = true | 18 | config.assets.compile = true |
| 22 | end | 19 | end |
