Permalink
Browse files

require test/unit and sort test order

  • Loading branch information...
tenderlove committed Jan 6, 2012
1 parent aa7857b commit 9342492e1445c47b02db392ba8430ecb9218fc47
Showing with 7 additions and 1 deletion.
  1. +1 −1 activerecord/test/cases/helper.rb
  2. +6 −0 activesupport/lib/active_support/test_case.rb
@@ -2,7 +2,7 @@
require 'config'
-require 'test/unit'
+require 'minitest/autorun'
require 'stringio'
require 'mocha'
@@ -19,6 +19,12 @@ def self.for_tag(tag)
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

0 comments on commit 9342492

Please sign in to comment.