comparison config/environments/test.rb @ 50:3f419d621b06

Rename config option. Changed in rails 4.2.
author nanaya <me@myconan.net>
date Thu, 23 Apr 2015 16:30:47 +0900
parents 6267a4188c05
children 257910c60eb3
comparison
equal deleted inserted replaced
49:929218b3b2e2 50:3f419d621b06
11 # just for the purpose of running a single test. If you are using a tool that 11 # just for the purpose of running a single test. If you are using a tool that
12 # preloads Rails for running tests, you may have to set it to true. 12 # preloads Rails for running tests, you may have to set it to true.
13 config.eager_load = false 13 config.eager_load = false
14 14
15 # Configure static asset server for tests with Cache-Control for performance. 15 # Configure static asset server for tests with Cache-Control for performance.
16 config.serve_static_assets = true 16 config.serve_static_files = true
17 config.static_cache_control = "public, max-age=3600" 17 config.static_cache_control = "public, max-age=3600"
18 18
19 # Show full error reports and disable caching. 19 # Show full error reports and disable caching.
20 config.consider_all_requests_local = true 20 config.consider_all_requests_local = true
21 config.action_controller.perform_caching = false 21 config.action_controller.perform_caching = false