app/views/tests/index.html.haml
= render '/shared/project_bar'
%h3 Tests
%table.table
%tr.active
%th Test
%th Average duration
%th Pass Ratio
- @tests.order(average_duration: :desc).each do |test|
%tr
%td= link_to test.name, project_test_path(@project, test)
%td= test.average_duration.round(2)
%td= test.pass_ratio.round(2)