diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-13 06:15:21 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-05-13 06:15:21 +0000 |
commit | bfe1993758cd4e67d7f6bfbabbfca1d07ff3284c (patch) | |
tree | 01125bf2ded14f18e45de996cc351a66c8aa55cd /test | |
parent | 38d5925d70d79193452d1d86fde9d48e0d78ba11 (diff) | |
download | redmine-bfe1993758cd4e67d7f6bfbabbfca1d07ff3284c.tar.gz redmine-bfe1993758cd4e67d7f6bfbabbfca1d07ff3284c.zip |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
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 |