summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-02-18 02:06:51 +0000
committerGo MAEDA <maeda@farend.jp>2020-02-18 02:06:51 +0000
commit6f603f285f4b8514bf42efe90fe62f571ff715ca (patch)
tree4f78c599e693befb62bd1e84b8673beb36e23ea0
parent94da302c75fc2041a2cb6a1d3a9856e02a2a9562 (diff)
downloadredmine-6f603f285f4b8514bf42efe90fe62f571ff715ca.tar.gz
redmine-6f603f285f4b8514bf42efe90fe62f571ff715ca.zip
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
-rw-r--r--test/functional/issue_statuses_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/issue_statuses_controller_test.rb b/test/functional/issue_statuses_controller_test.rb
index 703ed92e4..507c13afc 100644
--- a/test/functional/issue_statuses_controller_test.rb
+++ b/test/functional/issue_statuses_controller_test.rb
@@ -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