summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-16 04:12:42 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-09-16 04:12:42 +0000
commitee0fc2e1d5c2b60ab4b2e0c2be715cc0180503e9 (patch)
treea23b4328686620b014d49a02db718e0752b275bb /test
parent4a7e148affe7def688e0cd2ce29304f1637c02a4 (diff)
downloadredmine-ee0fc2e1d5c2b60ab4b2e0c2be715cc0180503e9.tar.gz
redmine-ee0fc2e1d5c2b60ab4b2e0c2be715cc0180503e9.zip
scm: bazaar: do not use file:// for repository path at unit app test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10387 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/repository_bazaar_test.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/repository_bazaar_test.rb b/test/unit/repository_bazaar_test.rb
index 2b751acc8..8e8c58dd6 100644
--- a/test/unit/repository_bazaar_test.rb
+++ b/test/unit/repository_bazaar_test.rb
@@ -23,13 +23,12 @@ class RepositoryBazaarTest < ActiveSupport::TestCase
include Redmine::I18n
REPOSITORY_PATH = Rails.root.join('tmp/test/bazaar_repository/trunk').to_s
- REPOSITORY_PATH.gsub!(/\/+/, '/')
NUM_REV = 4
def setup
@project = Project.find(3)
@repository = Repository::Bazaar.create(
- :project => @project, :url => "file:///#{REPOSITORY_PATH}",
+ :project => @project, :url => REPOSITORY_PATH,
:log_encoding => 'UTF-8')
assert @repository
end