summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-09-12 12:58:37 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-09-12 12:58:37 +0000
commitda22acd8b7fff010a05e9b1c600d2914940815f0 (patch)
tree58efa776c6bb47ced38a8b960c8c9314a5d79bf0
parent5401a65a81caa67a8a7d4a6196f34e2d07973da6 (diff)
downloadredmine-da22acd8b7fff010a05e9b1c600d2914940815f0.tar.gz
redmine-da22acd8b7fff010a05e9b1c600d2914940815f0.zip
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
-rw-r--r--test/functional/issues_controller_test.rb3
1 files changed, 2 insertions, 1 deletions
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