add assert_select of button at IssuesControllerTest#test_get_bulk_edit

git-svn-id: http://svn.redmine.org/redmine/trunk@19974 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2020-08-09 15:58:01 +00:00
parent de3fcfe63e
commit 3e0c726a7d

View File

@@ -6402,6 +6402,11 @@ class IssuesControllerTest < Redmine::ControllerTest
assert_select 'select[name=?]', 'issue[priority_id]' do assert_select 'select[name=?]', 'issue[priority_id]' do
assert_select 'option[value="15"]', 0 assert_select 'option[value="15"]', 0
end end
# Initial form should hide 'follow' button
assert_select 'input[type=submit]', 1 do
assert_select '[name=?]', 'commit'
end
end end
end end