lib/cucumber/formatter/profile.rb in aslakhellesoy-cucumber-0.3.102.2 vs lib/cucumber/formatter/profile.rb in aslakhellesoy-cucumber-0.3.103

- old
+ new

@@ -10,16 +10,16 @@ def initialize(step_mother, io, options) super @step_definition_durations = Hash.new { |h,step_definition| h[step_definition] = [] } end - def visit_step(step) + def step(step) @step_duration = Time.now @step = step super end - def visit_step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background) + def step_result(keyword, step_match, multiline_arg, status, exception, source_indent, background) duration = Time.now - @step_duration super if step_match.step_definition description = format_step(keyword, step_match, status, nil)