diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-06-20 13:34:48 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2019-06-20 13:34:48 +0000 |
commit | cbc537de0a09814210489ef8d657a5c4ae4dd54f (patch) | |
tree | ca675062c350851b3d874422cdfd0e2b23c246a7 /test/functional | |
parent | 78722ed6c70fbf722c0bd13cd4e41f7fded7cd36 (diff) | |
download | redmine-cbc537de0a09814210489ef8d657a5c4ae4dd54f.tar.gz redmine-cbc537de0a09814210489ef8d657a5c4ae4dd54f.zip |
Set the first status as a default status in "New tracker" form (#29589).
Patch by Yuichi HARADA.
git-svn-id: http://svn.redmine.org/redmine/trunk@18293 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r-- | test/functional/trackers_controller_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/trackers_controller_test.rb b/test/functional/trackers_controller_test.rb index 7012c2219..c875c44be 100644 --- a/test/functional/trackers_controller_test.rb +++ b/test/functional/trackers_controller_test.rb @@ -49,6 +49,9 @@ class TrackersControllerTest < Redmine::ControllerTest get :new assert_response :success assert_select 'input[name=?]', 'tracker[name]' + assert_select 'select[name=?]', 'tracker[default_status_id]' do + assert_select 'option[value=?][selected=selected]', "#{IssueStatus.sorted.first.id}" + end end def test_create |