test/test_helper.rb in doit-0.3.0 vs test/test_helper.rb in doit-0.3.2

- old
+ new

@@ -2,17 +2,19 @@ SimpleCov.start do add_filter 'test' command_name 'Minitest' end +require 'what' + require 'minitest/autorun' def noop(options = {noop: true}, &block) return 'noop: missing block' unless block out = '---' Doit.stub :options, options do - out, err = capture_io do + out, _err = capture_io do block.call end end out end