lib/mocha/integration/test_unit.rb in mocha-1.14.0 vs lib/mocha/integration/test_unit.rb in mocha-1.15.0
- old
+ new
@@ -1,11 +1,10 @@
require 'mocha/debug'
require 'mocha/detection/test_unit'
require 'mocha/integration/test_unit/nothing'
-require 'mocha/integration/test_unit/ruby_version_185_and_below'
require 'mocha/integration/test_unit/ruby_version_186_and_above'
require 'mocha/integration/test_unit/gem_version_200'
require 'mocha/integration/test_unit/gem_version_201_to_202'
require 'mocha/integration/test_unit/gem_version_203_to_220'
require 'mocha/integration/test_unit/gem_version_230_to_250'
@@ -29,10 +28,9 @@
TestUnit::GemVersion230To250,
TestUnit::GemVersion203To220,
TestUnit::GemVersion201To202,
TestUnit::GemVersion200,
TestUnit::RubyVersion186AndAbove,
- TestUnit::RubyVersion185AndBelow,
TestUnit::Nothing
].detect { |m| m.applicable_to?(test_unit_version, ruby_version) }
unless ::Test::Unit::TestCase < integration_module
unless integration_module == TestUnit::Adapter