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