changeset 363:9e860754b5d6

Update renamed config, enforce random test order.
author edogawaconan <me@myconan.net>
date Sat, 20 Dec 2014 17:59:37 +0900
parents cbf116933259
children dd5a107bff3d
files config/environments/production.rb config/environments/test.rb
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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