lib/gurke/step.rb in gurke-2.3.0 vs lib/gurke/step.rb in gurke-2.4.0

- old
+ new

@@ -40,10 +40,10 @@ # @api private # def run(runner, reporter, scenario, world) reporter.invoke :before_step, self, scenario - result = runner.hook(:step, world) do + result = runner.hook(:step, self, world) do run_step runner, reporter, scenario, world end reporter.invoke :after_step, result, scenario end