Sha256: 503b00ae269c2524b55adb62ce627dfcca618f00bd7f791155b03bfa37791b86
Contents?: true
Size: 874 Bytes
Versions: 2
Compression:
Stored size: 874 Bytes
Contents
%h2 %a{"href" => '../'} = @feature.gherkin["name"] %h2 = @scenario["name"] - if @scenario["tags"] = haml :tag_links, {:locals => {:tags => @scenario["tags"]}, :layout => false} - if @background %h3 = @background["keyword"] + ":" - @background["steps"].each do |step| %p %span.step-keyword &= step["keyword"] = step["name"] - if @scenario["steps"] %h3 Steps: - @scenario["steps"].each do |step| %p %span.step-keyword = step["keyword"] = escape_once(step["name"]) - if step["rows"] = haml :table, {:locals => {:rows => step["rows"]}, :layout => false} - else %p{:class => 'alert-message error'} = "Where's Nuker? This scenario has no steps!?" - if @scenario["examples"] %h3 Examples: = haml :table, {:locals => {:rows => @scenario["examples"].first["rows"]}, :layout => false}
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nuker-2.0.0 | lib/nuker/views/scenario.haml |
nuker-1.0.0 | lib/nuker/views/scenario.haml |