lib/cucumber/formatter/console.rb in cucumber-3.0.0.pre.2 vs lib/cucumber/formatter/console.rb in cucumber-3.0.0

- old
+ new

@@ -133,10 +133,10 @@ do_print_snippets(snippet_text_proc) end def do_print_snippets(snippet_text_proc) snippets = @snippets_input.map do |data| - snippet_text_proc.call(data.actual_keyword, data.step.name, data.step.multiline_arg) + snippet_text_proc.call(data.actual_keyword, data.step.text, data.step.multiline_arg) end.uniq text = "\nYou can implement step definitions for undefined steps with these snippets:\n\n" text += snippets.join("\n\n") @io.puts format_string(text, :undefined)