aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/test_case.rb
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-11-09 17:07:26 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2013-11-09 17:07:26 -0500
commit281f488fffc176084bf77c3ba5b1f1c4d6ab5680 (patch)
tree6f59ea1a413c1bfee6c9ac180727bb3ec47521ee /activesupport/lib/active_support/test_case.rb
parent140c0c8881d100b0d0bc2a0bce1227ddfbd9c9bd (diff)
downloadrails-281f488fffc176084bf77c3ba5b1f1c4d6ab5680.tar.gz
rails-281f488fffc176084bf77c3ba5b1f1c4d6ab5680.tar.bz2
rails-281f488fffc176084bf77c3ba5b1f1c4d6ab5680.zip
Use the method provided by minitest to make tests order dependent
Diffstat (limited to 'activesupport/lib/active_support/test_case.rb')
-rw-r--r--activesupport/lib/active_support/test_case.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb
index 5e24118d34..d687d69603 100644
--- a/activesupport/lib/active_support/test_case.rb
+++ b/activesupport/lib/active_support/test_case.rb
@@ -44,10 +44,8 @@ module ActiveSupport
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
+ # remove this method call.
+ self.i_suck_and_my_tests_are_order_dependent!
include ActiveSupport::Testing::TaggedLogging
include ActiveSupport::Testing::SetupAndTeardown