summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/functional/trackers_controller_test.rb3
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