lib/rspec_tracer/html_reporter/views/layout.erb in rspec-tracer-0.9.2 vs lib/rspec_tracer/html_reporter/views/layout.erb in rspec-tracer-0.9.3
- old
+ new
@@ -16,15 +16,18 @@
<div id="wrapper" class="hide">
<ul class="group_tabs"></ul>
<div id="content">
- <%= formatted_examples('Examples', examples.values) %>
- <% unless flaky_examples.empty? %>
- <%= formatted_flaky_examples('Flaky Examples', flaky_examples) %>
+ <%= formatted_examples('Examples', @examples.values) %>
+ <% unless @duplicate_examples.empty? %>
+ <%= formatted_duplicate_examples('Duplicate Examples', @duplicate_examples) %>
<% end %>
- <%= formatted_examples_dependency('Examples Dependency', examples_dependency) %>
- <%= formatted_files_dependency("Files Dependency", files_dependency) %>
+ <% unless @flaky_examples.empty? %>
+ <%= formatted_flaky_examples('Flaky Examples', @flaky_examples) %>
+ <% end %>
+ <%= formatted_examples_dependency('Examples Dependency', @examples_dependency) %>
+ <%= formatted_files_dependency("Files Dependency", @files_dependency) %>
</div>
<div id="footer">
Generated by <a href="https://github.com/avmnu-sng/rspec-tracer">rspec-tracer</a>
v<%= RSpecTracer::VERSION %>