Skip to content

Commit

Permalink
Set as baseline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dwyerb64 committed Mar 8, 2018
1 parent 0250aa4 commit bd83995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/tests/_test.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<%# if test.five_consecutive_failures %>
<!--span class="label label--warning">Consistently failing test</span-->
<%# end %>
<% if !test.pass? && !test.baseline? %>
<% if !test.pass? %>
<%= form_for(test, remote: true) do |f| %>
<%= f.hidden_field :baseline, value: true %>
<%= f.submit 'Set as baseline', class: 'test__set-baseline' %>
Expand Down

0 comments on commit bd83995

Please sign in to comment.