aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/test_case.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2012-01-05 16:51:37 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2012-01-06 15:50:47 -0800
commit9342492e1445c47b02db392ba8430ecb9218fc47 (patch)
tree20a47eb54ad68e9f5b5816ee7a22f55af497e883 /activesupport/lib/active_support/test_case.rb
parentaa7857b61742d2785a1bec39269d25031c840757 (diff)
downloadrails-9342492e1445c47b02db392ba8430ecb9218fc47.tar.gz
rails-9342492e1445c47b02db392ba8430ecb9218fc47.tar.bz2
rails-9342492e1445c47b02db392ba8430ecb9218fc47.zip
require test/unit and sort test order
Diffstat (limited to 'activesupport/lib/active_support/test_case.rb')
-rw-r--r--activesupport/lib/active_support/test_case.rb6
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