From da22acd8b7fff010a05e9b1c600d2914940815f0 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 12 Sep 2020 12:58:37 +0000 Subject: [PATCH] assert explicitly to hide 'follow' button at IssuesControllerTest#test_get_bulk_edit git-svn-id: http://svn.redmine.org/redmine/trunk@20028 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/issues_controller_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index 62d4894c3..63e085195 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -6423,7 +6423,8 @@ class IssuesControllerTest < Redmine::ControllerTest # Initial form should hide 'follow' button assert_select 'input[type=submit]', 1 do - assert_select '[name=?]', 'commit' + assert_select '[name=?]', 'commit', 1 + assert_select '[name=?]', 'follow', 0 end end end -- 2.39.5