1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 19:47:14 +00:00

Fix that CSS selector in test_index_should_show_warning_when_no_workflow_is_defined is too specific (#32927).

Patch by Vincent Robert.


git-svn-id: http://svn.redmine.org/redmine/trunk@19521 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2020-02-18 02:06:51 +00:00
parent 94da302c75
commit 6f603f285f

View File

@ -54,7 +54,7 @@ class IssueStatusesControllerTest < Redmine::ControllerTest
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