diff options
author | Rafael Mendonça França <rafael.franca@plataformatec.com.br> | 2014-09-10 22:34:06 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafael.franca@plataformatec.com.br> | 2014-09-10 22:34:06 -0300 |
commit | 412f6516650fcc0f86f39b0e912d5a1338475c61 (patch) | |
tree | 8031dae3cd245be345b2b040af8a3f4138237d06 /railties/lib/rails | |
parent | 7dd38566b3b1cd06737fbe222a6893f4a0adebba (diff) | |
parent | 2b41343c34bcbe809537590152506690b84832df (diff) | |
download | rails-412f6516650fcc0f86f39b0e912d5a1338475c61.tar.gz rails-412f6516650fcc0f86f39b0e912d5a1338475c61.tar.bz2 rails-412f6516650fcc0f86f39b0e912d5a1338475c61.zip |
Merge pull request #16839 from chancancode/default_test_order
Default to sorting user's test cases for now
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt index 053f5b66d7..32756eb88b 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/test.rb.tt @@ -31,6 +31,9 @@ Rails.application.configure do # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test + # Randomize the order test cases are executed + config.active_support.test_order = :random + # Print deprecation notices to the stderr. config.active_support.deprecation = :stderr |