##// END OF EJS Templates
Fixed Bazaar test repository path....
Jean-Philippe Lang -
r984:963b1283c288
parent child
Show More
@@ -22,7 +22,8 class RepositoryBazaarTest < Test::Unit::TestCase
22
22
23 # No '..' in the repository path
23 # No '..' in the repository path
24 REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/bazaar_repository'
24 REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/bazaar_repository'
25
25 REPOSITORY_PATH.gsub!(/\/+/, '/')
26
26 def setup
27 def setup
27 @project = Project.find(1)
28 @project = Project.find(1)
28 assert @repository = Repository::Bazaar.create(:project => @project, :url => "file:///#{REPOSITORY_PATH}")
29 assert @repository = Repository::Bazaar.create(:project => @project, :url => "file:///#{REPOSITORY_PATH}")
General Comments 0
You need to be logged in to leave comments. Login now