Sha256: 3c29d45e050e846292558f710b57437347cf357b64b12c2a92415e3f42cf8c79
Contents?: true
Size: 491 Bytes
Versions: 61
Compression:
Stored size: 491 Bytes
Contents
Before do |scenario| StepCounter.step_index = 0 StepCounter.step_line = scenario.raw_steps[StepCounter.step_index].line end AfterStep do |scenario| #Handle multiline steps StepCounter.step_index = StepCounter.step_index + 1 StepCounter.step_line = scenario.raw_steps[StepCounter.step_index].line unless scenario.raw_steps[StepCounter.step_index].nil? end StepCounter = Class.new class << StepCounter @step_index = 0 @step_line = 0 attr_accessor :step_index, :step_line end
Version data entries
61 entries across 61 versions & 2 rubygems