summaryrefslogtreecommitdiffstats
path: root/test/functional/settings_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-08 18:03:37 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-08 18:03:37 +0000
commit381319c4e8eae9afc849d7ee6011c24481d94b4c (patch)
tree03ac0d0de1be18a10a60060acc62166508db9468 /test/functional/settings_controller_test.rb
parent839daae8d091cd91eba40583fc257eb72b3bf7d9 (diff)
downloadredmine-381319c4e8eae9afc849d7ee6011c24481d94b4c.tar.gz
redmine-381319c4e8eae9afc849d7ee6011c24481d94b4c.zip
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
Diffstat (limited to 'test/functional/settings_controller_test.rb')
-rw-r--r--test/functional/settings_controller_test.rb2
1 files changed, 2 insertions, 0 deletions
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