lib/mocha/integration/mini_test/version_13.rb in mocha-1.6.0 vs lib/mocha/integration/mini_test/version_13.rb in mocha-1.7.0
- old
+ new
@@ -9,18 +9,19 @@
def self.applicable_to?(mini_test_version)
Gem::Requirement.new('>= 1.3.0', '<= 1.3.1').satisfied_by?(mini_test_version)
end
def self.description
- "monkey patch for MiniTest gem v1.3"
+ 'monkey patch for MiniTest gem v1.3'
end
def self.included(mod)
MonkeyPatcher.apply(mod, RunMethodPatch)
end
module RunMethodPatch
+ # rubocop:disable all
def run runner
assertion_counter = AssertionCounter.new(self)
result = '.'
begin
begin
@@ -43,9 +44,10 @@
ensure
mocha_teardown
end
result
end
+ # rubocop:enable all
end
end
end
end
end