Sha256: 39febf35afac5ae405bd6dbb8d54ac8dc4da008223e91931ee93b841e7552134

Contents?: true

Size: 802 Bytes

Versions: 6

Compression:

Stored size: 802 Bytes

Contents

%h2
  = @scenario["keyword"] + ": " + @scenario["name"]
  %span.label.notice
    - if @scenario["tags"]
      - @scenario["tags"].each do |tag|
        %a{:href => "/search?q=#{tag["name"]}"}
          = tag["name"]
- if @background
  %h3
    = @background["keyword"] + ":"
    - if @scenario["tags"]
      - @scenario["tags"].each do |tag|
        %span.label.notice
          %a{:href => "/search?q=#{tag["name"]}"}
            = tag["name"]
  - @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"]
      = step["name"]
- else
  %p{:class => 'nosteps'}
    = "Where's Wally? This scenario has no steps!?"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wally-0.0.13 lib/wally/views/scenario.haml
wally-0.0.12 lib/wally/views/scenario.haml
wally-0.0.11 lib/wally/views/scenario.haml
wally-0.0.10 lib/wally/views/scenario.haml
wally-0.0.9 lib/wally/views/scenario.haml
wally-0.0.8 lib/wally/views/scenario.haml