summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_bazaar_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-14 21:49:23 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-14 21:49:23 +0000
commit963b1283c2881b0b9fae4c5b2154f835dd4761c6 (patch)
treee0bf7d9cffc15029df933768937edfea7836ee83 /test/unit/repository_bazaar_test.rb
parent777edc13c1378810371631c3c897c11f314db7c1 (diff)
downloadredmine-963b1283c2881b0b9fae4c5b2154f835dd4761c6.tar.gz
redmine-963b1283c2881b0b9fae4c5b2154f835dd4761c6.zip
Fixed Bazaar test repository path.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@997 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_bazaar_test.rb')
-rw-r--r--test/unit/repository_bazaar_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/repository_bazaar_test.rb b/test/unit/repository_bazaar_test.rb
index 6b21607bc..15fcc8672 100644
--- a/test/unit/repository_bazaar_test.rb
+++ b/test/unit/repository_bazaar_test.rb
@@ -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}")