# HG changeset patch # User edogawaconan # Date 1419065977 -32400 # Node ID 9e860754b5d6f346eb85fb237a19ef4fa8bc90cc # Parent cbf116933259d1ee440eea209dfbb533fe855953 Update renamed config, enforce random test order. diff -r cbf116933259 -r 9e860754b5d6 config/environments/production.rb --- a/config/environments/production.rb Sat Dec 20 17:57:34 2014 +0900 +++ b/config/environments/production.rb Sat Dec 20 17:59:37 2014 +0900 @@ -20,7 +20,7 @@ # config.action_dispatch.rack_cache = true # Disable Rails's static asset server (Apache or nginx will already do this). - config.serve_static_assets = false + config.serve_static_files = false # Compress JavaScripts and CSS. config.assets.js_compressor = :uglifier diff -r cbf116933259 -r 9e860754b5d6 config/environments/test.rb --- a/config/environments/test.rb Sat Dec 20 17:57:34 2014 +0900 +++ b/config/environments/test.rb Sat Dec 20 17:59:37 2014 +0900 @@ -13,7 +13,7 @@ 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. @@ -33,4 +33,6 @@ # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr + + config.active_support.test_order = :random end