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

- old
+ new

@@ -6,16 +6,16 @@ require 'what' require 'minitest/autorun' -def noop(options = {noop: true}, &block) +def noop(options = { noop: true }, &block) return 'noop: missing block' unless block out = '---' Doit.stub :options, options do out, _err = capture_io do - block.call + yield end end out end