Fixes a failure when running rake test:coverage.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2543 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-03-01 10:55:01 +00:00
parent 38db62f1e7
commit 59dec17ddf

View 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