Sha256: 216ede95e1ebdcb16256c3f5ddd1897122c8a305ab588cfdbcbeeab65a5f71cd
Contents?: true
Size: 510 Bytes
Versions: 6
Compression:
Stored size: 510 Bytes
Contents
require 'support/example_helper' module StepHelper include ExampleHelper def passed_step base_step(passed_example) end def failed_step base_step(failed_example).tap { |s| s.status = :failed } end def pending_step base_step(pending_example).tap { |s| s.status = :pending } end private def base_step(example) TurnipFormatter::Resource::Step.new(example, step_description) end def step_description create_step_node('Keyword', 'StepName', 1) end end
Version data entries
6 entries across 6 versions & 1 rubygems