Improved order of tests.
This commit is contained in:
parent
5b1627906c
commit
7bf791637a
2 changed files with 5 additions and 2 deletions
|
@ -5,7 +5,10 @@ require 'cache'
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
require 'simplecov-rcov'
|
require 'simplecov-rcov'
|
||||||
|
|
||||||
|
ActiveSupport::TestCase.test_order = :sorted
|
||||||
|
|
||||||
class ActiveSupport::TestCase
|
class ActiveSupport::TestCase
|
||||||
|
|
||||||
# Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
|
# 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
|
# Note: You'll currently still have to declare fixtures explicitly in integration tests
|
||||||
|
|
|
@ -3,7 +3,7 @@ require 'test_helper'
|
||||||
|
|
||||||
class AutoWizardTest < ActiveSupport::TestCase
|
class AutoWizardTest < ActiveSupport::TestCase
|
||||||
|
|
||||||
test 'simple' do
|
test 'a simple' do
|
||||||
auto_wizard_data = {
|
auto_wizard_data = {
|
||||||
Users: [
|
Users: [
|
||||||
{
|
{
|
||||||
|
@ -76,7 +76,7 @@ class AutoWizardTest < ActiveSupport::TestCase
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
test 'complex' do
|
test 'b complex' do
|
||||||
auto_wizard_data = {
|
auto_wizard_data = {
|
||||||
Organizations: [
|
Organizations: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue