Sha256: eeb7cd66c5559a4c146517fe2aa8109d5a910af3d613f9095e956114d79e9d7c
Contents?: true
Size: 525 Bytes
Versions: 2
Compression:
Stored size: 525 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::Step.new(example, step_description) end def step_description { name: 'StepName', keyword: 'Keyword', extra_args: ['Docstring'] } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
turnip_formatter-0.3.1 | spec/support/step_helper.rb |
turnip_formatter-0.3.0 | spec/support/step_helper.rb |