From 3e0c726a7dc35b58939baad10bd4c54f7cdee3a3 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 9 Aug 2020 15:58:01 +0000 Subject: 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 --- test/functional/issues_controller_test.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index b4688eb05..bc5ef737b 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -6402,6 +6402,11 @@ class IssuesControllerTest < Redmine::ControllerTest assert_select 'select[name=?]', 'issue[priority_id]' do assert_select 'option[value="15"]', 0 end + + # Initial form should hide 'follow' button + assert_select 'input[type=submit]', 1 do + assert_select '[name=?]', 'commit' + end end end -- cgit v1.2.3