Permalink
Browse files

rm minitest monkey patch

  • Loading branch information...
1 parent 07bd573 commit fa13d8e6d926c601070104c7075be39618280272 @tenderlove tenderlove committed Nov 16, 2013
Showing with 0 additions and 17 deletions.
  1. +0 −17 activesupport/lib/active_support/test_case.rb
@@ -15,23 +15,6 @@
rescue LoadError
end
-module Minitest # :nodoc:
- class << self
- remove_method :__run
- end
-
- def self.__run reporter, options # :nodoc:
- # FIXME: MT5's runnables is not ordered. This is needed because
- # we have tests with cross-class order-dependent bugs.
- suites = Runnable.runnables.sort_by { |ts| ts.name.to_s }
-
- parallel, serial = suites.partition { |s| s.test_order == :parallel }
-
- ParallelEach.new(parallel).map { |suite| suite.run reporter, options } +
- serial.map { |suite| suite.run reporter, options }
- end
-end
-
module ActiveSupport
class TestCase < ::Minitest::Test
Assertion = Minitest::Assertion

2 comments on commit fa13d8e

@senny
Member
senny commented on fa13d8e Nov 16, 2013

❤️

@arthurnn
Member

❤️ ... kill 🐵 with 🔥

Please sign in to comment.