mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-23 01:09:55 +00:00
scm: bazaar: do not use file:// for repository path at unit app test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10387 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4a7e148aff
commit
ee0fc2e1d5
@ -23,13 +23,12 @@ class RepositoryBazaarTest < ActiveSupport::TestCase
|
|||||||
include Redmine::I18n
|
include Redmine::I18n
|
||||||
|
|
||||||
REPOSITORY_PATH = Rails.root.join('tmp/test/bazaar_repository/trunk').to_s
|
REPOSITORY_PATH = Rails.root.join('tmp/test/bazaar_repository/trunk').to_s
|
||||||
REPOSITORY_PATH.gsub!(/\/+/, '/')
|
|
||||||
NUM_REV = 4
|
NUM_REV = 4
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
@project = Project.find(3)
|
@project = Project.find(3)
|
||||||
@repository = Repository::Bazaar.create(
|
@repository = Repository::Bazaar.create(
|
||||||
:project => @project, :url => "file:///#{REPOSITORY_PATH}",
|
:project => @project, :url => REPOSITORY_PATH,
|
||||||
:log_encoding => 'UTF-8')
|
:log_encoding => 'UTF-8')
|
||||||
assert @repository
|
assert @repository
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user