From a88077a0bd4ada4472056a2c37bc8bf98d75a8c2 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 11 Feb 2011 15:32:45 +0000 Subject: [PATCH] scm: cvs: fix unit lib test fails on Windows. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4808 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb index e063d44fd..b6b4b6ee8 100644 --- a/test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb @@ -5,6 +5,7 @@ begin class CvsAdapterTest < ActiveSupport::TestCase REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/cvs_repository' + REPOSITORY_PATH.gsub!(/\//, "\\") if Redmine::Platform.mswin? MODULE_NAME = 'test' if File.directory?(REPOSITORY_PATH)