]> source.dussan.org Git - redmine.git/commitdiff
Fixed Bazaar test repository path.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 14 Dec 2007 21:49:23 +0000 (21:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 14 Dec 2007 21:49:23 +0000 (21:49 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@997 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_bazaar_test.rb

index 6b21607bcc21f1b77bee8fb13d3f0b7f800486ce..15fcc867240879d7922fd62b62b9fa969508a36e 100644 (file)
@@ -22,7 +22,8 @@ class RepositoryBazaarTest < Test::Unit::TestCase
   
   # No '..' in the repository path
   REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/bazaar_repository'
-  
+  REPOSITORY_PATH.gsub!(/\/+/, '/')
+
   def setup
     @project = Project.find(1)
     assert @repository = Repository::Bazaar.create(:project => @project, :url => "file:///#{REPOSITORY_PATH}")