@@ -22,7 +22,8 class RepositoryBazaarTest < Test::Unit::TestCase | |||
|
22 | 22 | |
|
23 | 23 | # No '..' in the repository path |
|
24 | 24 | REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/bazaar_repository' |
|
25 | ||
|
25 | REPOSITORY_PATH.gsub!(/\/+/, '/') | |
|
26 | ||
|
26 | 27 | def setup |
|
27 | 28 | @project = Project.find(1) |
|
28 | 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