From: Toshi MARUYAMA Date: Fri, 13 May 2011 06:15:21 +0000 (+0000) Subject: scm: cvs: remove trailing white-spaces from unit adapter test. X-Git-Tag: 1.2.0~115 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bfe1993758cd4e67d7f6bfbabbfca1d07ff3284c;p=redmine.git scm: cvs: remove trailing white-spaces from unit adapter test. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5778 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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 455d2b45a..eb426a0da 100644 --- a/test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb @@ -1,14 +1,14 @@ require File.expand_path('../../../../../../test_helper', __FILE__) begin require 'mocha' - + 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) + if File.directory?(REPOSITORY_PATH) def setup @adapter = Redmine::Scm::Adapters::CvsAdapter.new(MODULE_NAME, REPOSITORY_PATH) end