Explorar o código

Set ActiveSupport::TestCase.test_order

Thibaut %!s(int64=11) %!d(string=hai) anos
pai
achega
ceff86bac4
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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