lib/cuukie/views/index.erb in cuukie-0.1.1 vs lib/cuukie/views/index.erb in cuukie-0.1.2
- old
+ new
@@ -23,30 +23,25 @@
<% feature['scenarios'].each do |scenario| %>
<div class="scenario">
<span style="display: block;" class="scenario_file"><%= scenario['file_colon_line'] %></span>
<h3 style="cursor: pointer;" id="<%= scenario['id'] %>">
- <span class="keyword">Scenario: </span><span class="val"><%= scenario['name'] %></span>
+ <span class="keyword"><%= scenario['keyword'] %>: </span><span class="val"><%= scenario['name'] %></span>
</h3>
<script><%= scenario['status'] %>Colors('<%= scenario['id'] %>');</script>
<ol style="display: block;">
<% scenario['steps'].each do |step| %>
<li id="features_" class="step <%= step['status'] %>">
<div class="step_name">
<span class="keyword"><%= step['keyword'] %></span><span class="step val"><%= step['name'] %></span>
</div>
<div class="step_file"><span><%= step['file_colon_line'] %></span></div>
</li>
- <!-- <script type="text/javascript">moveProgressBar('75.0');</script> -->
<% end %>
</ol>
</div>
<% end %>
</div>
<% end %>
- <!--
- <script type="text/javascript">document.getElementById('duration').innerHTML = "Finished in <strong>0m8.171s seconds</strong>";</script>
- <script type="text/javascript">document.getElementById('totals').innerHTML = "1 scenario (1 passed)<br />4 steps (4 passed)";</script>
- -->
</div>
</body>
</html>
\ No newline at end of file