lib/linepipe/dsl.rb in linepipe-0.1.1 vs lib/linepipe/dsl.rb in linepipe-0.1.2

- old
+ new

@@ -14,9 +14,9 @@ def step(name=nil, &block) @steps << Step.new(name, &block) end def expect(msg=nil, &block) - @expectations << Expectation.new(msg, io, &block) + @expectations << Expectation.new(msg, method(:log), &block) end end end