Revision 997
Added by Jean-Philippe Lang over 17 years ago
trunk/test/unit/repository_bazaar_test.rb | ||
---|---|---|
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}") |
Also available in: Unified diff
Fixed Bazaar test repository path.