Sha256: 3d4d3bc342b94062bbd04628add491dc39998e19d725ca47b821fd5658c49602

Contents?: true

Size: 1.27 KB

Versions: 1

Compression:

Stored size: 1.27 KB

Contents

<div class="scenario">
  <a name="<%= @id %>" />
  <div class="title">
    <a class="toggle">&nbsp;-&nbsp;</a>
    <span class="pre"><%= @scenario.keyword %>:</span>
    <span class="name"><%= h @scenario.value %></span>
  </div>

  <% if @scenario.description.length > 0 %>
  <div class="description">
    <%= h @scenario.description %>
  </div>
  <% end %>

  <% if @scenario.comments.length > 0 %>
  <div class="comments developer">
    <%= h @scenario.comments %>
  </div>
  <% end %>

  <div class="details">
    <div class="meta developer">
      <div class="file"><%= @scenario.location %></div>
      <% unless @scenario.tags.empty? %>
        <div style="clear:right;"></div>
        <div class="tags">
          <% @scenario.tags.each do |tag| %>
            <a href="<%= url_for tag %>"><%= tag.value %></a>
          <% end %>
        </div>
      <% end%>
      <div style="clear: both;"></div>
    </div>

    <div class="steps">
      <% if @scenario.steps.empty?  %>
        <%= erb(:no_steps_defined) %>
      <% else %>
        <%= @steps = @scenario.steps ; erb(:steps) %>
      <% end %>
    </div>


    <%= erb(:outline) if @scenario.outline? %>

  </div>
  
  <div class="attributes" style="display:none;">
    <input type="hidden" name="collapsed" value="false">
  </div>

</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cucumber-in-the-yard-1.7.1 lib/templates/default/feature/html/scenario.erb