Use a sort order for Test::Unit on the dummy app if possible [ci skip]

This commit is contained in:
Ben Atkins 2014-12-30 16:55:03 -05:00
parent c38f53656a
commit c4dea7d768
1 changed files with 3 additions and 0 deletions

View File

@ -62,5 +62,8 @@ module Dummy
# supress warnings about raises in transactional callbacks on AR 4.2+
config.active_record.raise_in_transactional_callbacks = true if ActiveRecord::VERSION::STRING >= '4.2'
# Set test order for Test::Unit if possible
config.active_support.test_order = :sorted if config.active_support.respond_to?(:test_order=)
end
end