diff options
Diffstat (limited to 'test/lib/minitest/unit.rb')
-rw-r--r-- | test/lib/minitest/unit.rb | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/lib/minitest/unit.rb b/test/lib/minitest/unit.rb index 9b9b9e99ce..c6489ba01e 100644 --- a/test/lib/minitest/unit.rb +++ b/test/lib/minitest/unit.rb @@ -902,8 +902,6 @@ module MiniTest ## # Runs all the +suites+ for a given +type+. # - # NOTE: this method is redefined in parallel_each.rb, which is - # loaded if a test-suite calls parallelize_me!. def _run_suites suites, type suites.map { |suite| _run_suite suite, type } @@ -1346,20 +1344,6 @@ module MiniTest end end - ## - # Call this at the top of your tests when you want to run your - # tests in parallel. In doing so, you're admitting that you rule - # and your tests are awesome. - - def self.parallelize_me! - require "minitest/parallel_each" - - class << self - undef_method :test_order if method_defined? :test_order - define_method :test_order do :parallel end - end - end - def self.inherited klass # :nodoc: @@test_suites[klass] = true super |