Martin Edenhofer 8 лет назад
Родитель
Сommit
7bf791637a
2 измененных файлов с 5 добавлено и 2 удалено
  1. 3 0
      test/test_helper.rb
  2. 2 2
      test/unit/auto_wizard_test.rb

+ 3 - 0
test/test_helper.rb

@@ -5,7 +5,10 @@ require 'cache'
 require 'simplecov'
 require 'simplecov-rcov'
 
+ActiveSupport::TestCase.test_order = :sorted
+
 class ActiveSupport::TestCase
+
   # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
   #
   # Note: You'll currently still have to declare fixtures explicitly in integration tests

+ 2 - 2
test/unit/auto_wizard_test.rb

@@ -3,7 +3,7 @@ require 'test_helper'
 
 class AutoWizardTest < ActiveSupport::TestCase
 
-  test 'simple' do
+  test 'a simple' do
     auto_wizard_data = {
       Users: [
         {
@@ -76,7 +76,7 @@ class AutoWizardTest < ActiveSupport::TestCase
     }
   end
 
-  test 'complex' do
+  test 'b complex' do
     auto_wizard_data = {
       Organizations: [
         {