comparison config/environments/test.rb @ 363:9e860754b5d6

Update renamed config, enforce random test order.
author edogawaconan <me@myconan.net>
date Sat, 20 Dec 2014 17:59:37 +0900
parents 10f1eb74e6d7
children 68eb23b52864
comparison
equal deleted inserted replaced
362:cbf116933259 363:9e860754b5d6
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
31 # ActionMailer::Base.deliveries array. 31 # ActionMailer::Base.deliveries array.
32 # config.action_mailer.delivery_method = :test 32 # config.action_mailer.delivery_method = :test
33 33
34 # Print deprecation notices to the stderr. 34 # Print deprecation notices to the stderr.
35 config.active_support.deprecation = :stderr 35 config.active_support.deprecation = :stderr
36
37 config.active_support.test_order = :random
36 end 38 end