Ver Fonte

Set ActiveSupport::TestCase.test_order

Thibaut há 11 anos atrás
pai
commit
ceff86bac4
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      test/test_helper.rb

+ 2 - 0
test/test_helper.rb

@@ -16,6 +16,8 @@ Dir[File.dirname(__FILE__) + '/support/*.rb'].each do |file|
   autoload File.basename(file, '.rb').camelize, file
 end
 
+ActiveSupport::TestCase.test_order = :random
+
 class MiniTest::Spec
   include ActiveSupport::Testing::Assertions