diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-11-16 14:31:35 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-11-16 14:33:15 -0800 |
commit | fa13d8e6d926c601070104c7075be39618280272 (patch) | |
tree | 3ca1fc6d5d529cc722b119523bba10aca083ba52 | |
parent | 07bd57385ff7adb3fc8539ff4ad7f8a89bf32937 (diff) | |
download | rails-fa13d8e6d926c601070104c7075be39618280272.tar.gz rails-fa13d8e6d926c601070104c7075be39618280272.tar.bz2 rails-fa13d8e6d926c601070104c7075be39618280272.zip |
rm minitest monkey patch
-rw-r--r-- | activesupport/lib/active_support/test_case.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/activesupport/lib/active_support/test_case.rb b/activesupport/lib/active_support/test_case.rb index d687d69603..e193163d17 100644 --- a/activesupport/lib/active_support/test_case.rb +++ b/activesupport/lib/active_support/test_case.rb @@ -15,23 +15,6 @@ begin 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 |