summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-01-17 01:48:13 +0000
committerGo MAEDA <maeda@farend.jp>2021-01-17 01:48:13 +0000
commit85193e8d10a495ba0d9d3fd66bfab1f65c5acc44 (patch)
treebc4f26b049b871e56fe1f9aca5321201e2bb588e /test/functional
parent9b7bbfea5f90798aed7ae08056d1273ffc061e1c (diff)
downloadredmine-85193e8d10a495ba0d9d3fd66bfab1f65c5acc44.tar.gz
redmine-85193e8d10a495ba0d9d3fd66bfab1f65c5acc44.zip
Fix that WorkflowsControllerTest fails if table cells have more than one CSS class (#34247).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20716 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/workflows_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/workflows_controller_test.rb b/test/functional/workflows_controller_test.rb
index cc535c42d..2e1837978 100644
--- a/test/functional/workflows_controller_test.rb
+++ b/test/functional/workflows_controller_test.rb
@@ -125,7 +125,7 @@ class WorkflowsControllerTest < Redmine::ControllerTest
assert_select 'table.workflows.transitions-always tbody tr:nth-child(2)' do
assert_select 'td.name', :text => 'New'
# assert that the td is enabled
- assert_select "td[title='New » New'][class=?]", 'enabled'
+ assert_select "td.enabled[title='New » New']"
# assert that the checkbox is disabled and checked
assert_select "input[name='transitions[1][1][always]'][checked=?][disabled=?]", 'checked', 'disabled', 1
end