diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-05 16:51:37 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-06 15:50:47 -0800 |
commit | 9342492e1445c47b02db392ba8430ecb9218fc47 (patch) | |
tree | 20a47eb54ad68e9f5b5816ee7a22f55af497e883 /activesupport | |
parent | aa7857b61742d2785a1bec39269d25031c840757 (diff) | |
download | rails-9342492e1445c47b02db392ba8430ecb9218fc47.tar.gz rails-9342492e1445c47b02db392ba8430ecb9218fc47.tar.bz2 rails-9342492e1445c47b02db392ba8430ecb9218fc47.zip |
require test/unit and sort test order
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/test_case.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index 6903733625..4bb4cd196e 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -19,6 +19,12 @@ module ActiveSupport yield if $tags[tag] end + # FIXME: we have tests that depend on run order, we should fix that and + # remove this method. + def self.test_order # :nodoc: + :sorted + end + include ActiveSupport::Testing::SetupAndTeardown include ActiveSupport::Testing::Assertions include ActiveSupport::Testing::Deprecation |