@@ -25,9 +25,7 class RepositoriesBazaarControllerTest < ActionController::TestCase | |||
|
25 | 25 | fixtures :projects, :users, :roles, :members, :member_roles, |
|
26 | 26 | :repositories, :enabled_modules |
|
27 | 27 | |
|
28 | # No '..' in the repository path | |
|
29 | REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + | |
|
30 | '/tmp/test/bazaar_repository/trunk' | |
|
28 | REPOSITORY_PATH = Rails.root.join('tmp/test/bazaar_repository/trunk').to_s | |
|
31 | 29 | PRJ_ID = 3 |
|
32 | 30 | |
|
33 | 31 | def setup |
General Comments 0
You need to be logged in to leave comments.
Login now