diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-08-09 15:58:01 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-08-09 15:58:01 +0000 |
commit | 3e0c726a7dc35b58939baad10bd4c54f7cdee3a3 (patch) | |
tree | e2964f33722709698b2a7c22a1c743ab80c3d6d9 | |
parent | de3fcfe63eec2547693539ed279d65ac4fa149e8 (diff) | |
download | redmine-3e0c726a7dc35b58939baad10bd4c54f7cdee3a3.tar.gz redmine-3e0c726a7dc35b58939baad10bd4c54f7cdee3a3.zip |
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
-rw-r--r-- | test/functional/issues_controller_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |