Prechádzať zdrojové kódy

Set ActiveSupport::TestCase.test_order

Thibaut 11 rokov pred
rodič
commit
ceff86bac4
1 zmenil súbory, kde vykonal 2 pridanie a 0 odobranie
  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