@@ -20,8 +20,7 require File.expand_path('../../test_helper', __FILE__) | |||
|
20 | 20 | class RepositoryGitTest < ActiveSupport::TestCase |
|
21 | 21 | fixtures :projects, :repositories, :enabled_modules, :users, :roles |
|
22 | 22 | |
|
23 | # No '..' in the repository path | |
|
24 | REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/git_repository' | |
|
23 | REPOSITORY_PATH = Rails.root.join('tmp/test/git_repository').to_s | |
|
25 | 24 | REPOSITORY_PATH.gsub!(/\//, "\\") if Redmine::Platform.mswin? |
|
26 | 25 | |
|
27 | 26 | FELIX_HEX = "Felix Sch\xC3\xA4fer" |
General Comments 0
You need to be logged in to leave comments.
Login now