Sha256: 9b27755da5dbe3ee2f6b1b68e4930f41a25dfbb83ecf7dd209194239315fc724

Contents?: true

Size: 732 Bytes

Versions: 6

Compression:

Stored size: 732 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|
    = step["keyword"] + step["name"]
    %br
- if @scenario["steps"]
  %p
    - @scenario["steps"].each do |step|
      = step["keyword"] + step["name"] + '<br/>'
- 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.7 lib/wally/views/scenario.haml
wally-0.0.6 lib/wally/views/scenario.haml
wally-0.0.5 lib/wally/views/scenario.haml
wally-0.0.3 lib/wally/views/scenario.haml
wally-0.0.2 lib/wally/views/scenario.haml
wally-0.0.1 lib/wally/views/scenario.haml