Project

General

Profile

Patch #32927 ยป more_generic_test.diff

Vincent Robert, 2020-01-30 14:24

View differences:

test/functional/issue_statuses_controller_test.rb
54 54
      assert_select 'tr:not(:last-of-type) span.icon-warning', :count => 0
55 55
      assert_select 'tr:last-of-type' do
56 56
        assert_select 'td.name', :text => status.name
57
        assert_select 'td:nth-of-type(3) span.icon-warning',
57
        assert_select 'td span.icon-warning',
58 58
                      :text => /#{I18n.t(:text_status_no_workflow)}/
59 59
      end
60 60
    end
    (1-1/1)