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
This commit is contained in:
parent
839daae8d0
commit
381319c4e8
|
@ -1,6 +1,7 @@
|
|||
<% 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
|
||||
|
|
Loading…
Reference in New Issue