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
assert_select 'tr:not(:last-of-type) span.icon-warning', :count => 0
assert_select 'tr:last-of-type' do
assert_select 'td.name', :text => status.name
assert_select 'td:nth-of-type(3) span.icon-warning',
assert_select 'td span.icon-warning',
:text => /#{I18n.t(:text_status_no_workflow)}/
end
end
    (1-1/1)