From 381319c4e8eae9afc849d7ee6011c24481d94b4c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 8 Jan 2012 18:03:37 +0000 Subject: Fixed that SCM selection is not saved when all SCM are disabled (#9937). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8568 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/settings_controller_test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/functional/settings_controller_test.rb') diff --git a/test/functional/settings_controller_test.rb b/test/functional/settings_controller_test.rb index fb9bb6286..74dc7a785 100644 --- a/test/functional/settings_controller_test.rb +++ b/test/functional/settings_controller_test.rb @@ -42,6 +42,8 @@ class SettingsControllerTest < ActionController::TestCase get :edit assert_response :success assert_template 'edit' + + assert_tag 'input', :attributes => {:name => 'settings[enabled_scm][]', :value => ''} end def test_post_edit_notifications -- cgit v1.2.3