Improved order of tests.

This commit is contained in:
Martin Edenhofer 2016-06-20 14:55:47 +02:00
parent 5b1627906c
commit 7bf791637a
2 changed files with 5 additions and 2 deletions

View file

@ -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

View file

@ -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: [
{