Sha256: 54e6d9a062d93c890db14990fe1143263e3a2ce3544bc7676330ba547139afe9

Contents?: true

Size: 988 Bytes

Versions: 2

Compression:

Stored size: 988 Bytes

Contents

<%= stylesheet_link_tag 'cucumber_monitor' %>

<h1>Feature: <%= @feature.name %></h1>

<h3><%= @feature.description %></h3>

<p>
<%= link_to "Voltar para features", features_cucumber_monitor_path %>
</p>

<% if @feature.contexts.any? %>
<div class="feature_container context">
  <% @feature.contexts.each do |context|%>
    <h4>Contexto</h4>
    <div class="steps">
      <% context.steps.each do |step| %>
        <%= step.formatted.html_safe %>
        <% if step.not_a_table %>
          <hr />
        <% end %>
      <% end %>
    </div>
  <% end %>
</div>
<% end %>

<div class="feature_container">
  <% @feature.scenarios.each_with_index do |scenario, i|%>
    <h4>CenĂ¡rio: <%= scenario.name %></h4>
    <div class="steps">
    <% scenario.steps.each do |step| %>
      <%= step.formatted.html_safe %>
      <% if step.not_a_table %>
        <hr /> 
      <% end %>
    <% end %>
    </div>
  <% end %>
</div>

<%= link_to "Voltar para features", features_cucumber_monitor_path %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cucumber_monitor-0.0.2 app/views/cucumber_monitor/show_feature.html.erb
cucumber_monitor-0.0.1 app/views/cucumber_monitor/show_feature.html.erb