summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-02-29 14:27:23 +0000
committerGo MAEDA <maeda@farend.jp>2020-02-29 14:27:23 +0000
commit3c733c84a6797e71dea7f0f4519a8012b1d381e6 (patch)
treec839b74af0ae13501c6bb17de901a0bda8966b53 /test
parent804f4f47727feef5922001fe32c6a2cd6d6b3b5b (diff)
downloadredmine-3c733c84a6797e71dea7f0f4519a8012b1d381e6.tar.gz
redmine-3c733c84a6797e71dea7f0f4519a8012b1d381e6.zip
Merged r19538 from trunk to 4.0-stable (#33059).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@19544 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/workflows_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/workflows_controller_test.rb b/test/functional/workflows_controller_test.rb
index d33f4558d..2a71b1a26 100644
--- a/test/functional/workflows_controller_test.rb
+++ b/test/functional/workflows_controller_test.rb
@@ -92,8 +92,8 @@ class WorkflowsControllerTest < Redmine::ControllerTest
get :edit, :params => {:role_id => 'all', :tracker_id => 'all'}
assert_response :success
- assert_select 'select[name=?][multiple=multiple]', 'role_id[]' do
- assert_select 'option[selected=selected]', Role.all.select(&:consider_workflow?).count
+ assert_select 'select[name=?]', 'role_id[]' do
+ assert_select 'option[selected=selected][value=all]'
end
assert_select 'select[name=?]', 'tracker_id[]' do
assert_select 'option[selected=selected][value=all]'