Fixes subversion tests not running on win32.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5175 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2011-03-20 18:25:38 +00:00
parent 85462261ac
commit f279b48288
4 changed files with 18 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
# redMine - project management software
# Copyright (C) 2006-2008 Jean-Philippe Lang
# Redmine - project management software
# Copyright (C) 2006-2011 Jean-Philippe Lang
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -24,8 +24,7 @@ begin
if repository_configured?('subversion')
def setup
repo_path = "file://#{self.class.repository_path('subversion')}"
@adapter = Redmine::Scm::Adapters::SubversionAdapter.new(repo_path)
@adapter = Redmine::Scm::Adapters::SubversionAdapter.new(self.class.subversion_repository_url)
end
def test_client_version