Commit 8e200bd9 authored by jplang's avatar jplang

Fixed that SCM selection is not saved when all SCM are disabled (#9937).

git-svn-id: https://svn.redmine.org/redmine/trunk@8568 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent f23377ff
<% form_tag({:action => 'edit', :tab => 'repositories'}) do %>
<fieldset class="box settings enabled_scm">
<%= hidden_field_tag 'settings[enabled_scm][]', '' %>
<legend><%= l(:setting_enabled_scm) %></legend>
<table>
<tr>
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment