@@ -23,7 +23,8 class RepositoriesBazaarControllerTest < ActionController::TestCase | |||
|
23 | 23 | fixtures :projects, :users, :roles, :members, :member_roles, |
|
24 | 24 | :repositories, :enabled_modules |
|
25 | 25 | |
|
26 |
REPOSITORY_PATH = Rails.root.join('tmp/test/bazaar_repository |
|
|
26 | REPOSITORY_PATH = Rails.root.join('tmp/test/bazaar_repository').to_s | |
|
27 | REPOSITORY_PATH_TRUNK = File.join(REPOSITORY_PATH, "trunk") | |
|
27 | 28 | PRJ_ID = 3 |
|
28 | 29 | |
|
29 | 30 | def setup |
@@ -31,7 +32,7 class RepositoriesBazaarControllerTest < ActionController::TestCase | |||
|
31 | 32 | @project = Project.find(PRJ_ID) |
|
32 | 33 | @repository = Repository::Bazaar.create( |
|
33 | 34 | :project => @project, |
|
34 | :url => REPOSITORY_PATH, | |
|
35 | :url => REPOSITORY_PATH_TRUNK, | |
|
35 | 36 | :log_encoding => 'UTF-8') |
|
36 | 37 | assert @repository |
|
37 | 38 | end |
General Comments 0
You need to be logged in to leave comments.
Login now