OSDN Git Service

Fixes a failure when running rake test:coverage.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 1 Mar 2009 10:55:01 +0000 (10:55 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 1 Mar 2009 10:55:01 +0000 (10:55 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2543 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/sys_controller_test.rb

index 47228a4..db9dd2a 100644 (file)
@@ -29,6 +29,7 @@ class SysControllerTest < Test::Unit::TestCase
     @request    = ActionController::TestRequest.new
     @response   = ActionController::TestResponse.new
     Setting.sys_api_enabled = '1'
+    Setting.enabled_scm = %w(Subversion Git)
   end
   
   def test_projects_with_repository_enabled