Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Use the method provided by minitest to make tests order dependent

  • Loading branch information...
commit 281f488fffc176084bf77c3ba5b1f1c4d6ab5680 1 parent 140c0c8
@guilleiguaran guilleiguaran authored
Showing with 2 additions and 4 deletions.
  1. +2 −4 activesupport/lib/active_support/test_case.rb
View
6 activesupport/lib/active_support/test_case.rb
@@ -44,10 +44,8 @@ def self.for_tag(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
+ # remove this method call.
+ self.i_suck_and_my_tests_are_order_dependent!
include ActiveSupport::Testing::TaggedLogging
include ActiveSupport::Testing::SetupAndTeardown

1 comment on commit 281f488

@parndt

Just a query, is this something that should be set by Rails (aka where the tests are) and not hardcoded into ActiveSupport::TestCase ?

Please sign in to comment.
Something went wrong with that request. Please try again.