From e4c529ea1d94ef548975e45b91a7fec045aeefbc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Wed, 10 Sep 2014 22:34:55 -0300 Subject: Set the test order to be random in the generated app This will avoid the warning in our tests. We delete all the config/environments/ files in the test app so our default code will not work. --- railties/test/isolation/abstract_unit.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'railties/test/isolation') diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb index b38cc4277e..d4ec6dede8 100644 --- a/railties/test/isolation/abstract_unit.rb +++ b/railties/test/isolation/abstract_unit.rb @@ -140,6 +140,7 @@ module TestHelpers config.eager_load = false config.session_store :cookie_store, key: "_myapp_session" config.active_support.deprecation = :log + config.active_support.test_order = :random config.action_controller.allow_forgery_protection = false RUBY end -- cgit v1.2.3