Sha256: 4129708da455b675c5a8aa3a7265c6bf98ab3b3fce1366b71123badb3816c72d

Contents?: true

Size: 463 Bytes

Versions: 11

Compression:

Stored size: 463 Bytes

Contents

require 'turnip_formatter/renderer/html/step'

module TurnipFormatter
  module Renderer
    module Html
      #
      # @resource [TurnipFormatter::Resource::Scenario::Base]
      #
      class Scenario < Base
        delegate :id, :status, :run_time, :tags, :feature_info, :name, :feature

        def steps_html
          @steps_html ||= @resource.steps.map do |step|
            Step.new(step).render
          end.join
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
turnip_formatter-0.8.0 lib/turnip_formatter/renderer/html/scenario.rb
turnip_formatter-0.7.2 lib/turnip_formatter/renderer/html/scenario.rb
turnip_formatter-0.7.1 lib/turnip_formatter/renderer/html/scenario.rb
turnip_formatter-0.7.0 lib/turnip_formatter/renderer/html/scenario.rb
turnip_formatter-0.6.1 lib/turnip_formatter/renderer/html/scenario.rb
turnip_formatter-0.6.0 lib/turnip_formatter/renderer/html/scenario.rb
turnip_formatter-0.6.0.pre.beta.7 lib/turnip_formatter/renderer/html/scenario.rb
turnip_formatter-0.6.0.pre.beta.6 lib/turnip_formatter/renderer/html/scenario.rb
turnip_formatter-0.6.0.pre.beta.5 lib/turnip_formatter/renderer/html/scenario.rb
turnip_formatter-0.6.0.pre.beta.4 lib/turnip_formatter/renderer/html/scenario.rb
turnip_formatter-0.6.0.pre.beta.3 lib/turnip_formatter/renderer/html/scenario.rb