@@ -20,9 +20,7 require File.expand_path('../../test_helper', __FILE__) | |||
|
20 | 20 | class RepositoryBazaarTest < ActiveSupport::TestCase |
|
21 | 21 | fixtures :projects |
|
22 | 22 | |
|
23 | # No '..' in the repository path | |
|
24 | REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + | |
|
25 | '/tmp/test/bazaar_repository/trunk' | |
|
23 | REPOSITORY_PATH = Rails.root.join('tmp/test/bazaar_repository/trunk').to_s | |
|
26 | 24 | REPOSITORY_PATH.gsub!(/\/+/, '/') |
|
27 | 25 | |
|
28 | 26 | def setup |
General Comments 0
You need to be logged in to leave comments.
Login now