##// END OF EJS Templates
scm: cvs: replace RAILS_ROOT to Rails.root in unit model test....
Toshi MARUYAMA -
r5940:ee2418f07618
parent child
Show More
@@ -20,8 +20,7 require 'pp'
20 class RepositoryCvsTest < ActiveSupport::TestCase
20 class RepositoryCvsTest < ActiveSupport::TestCase
21 fixtures :projects
21 fixtures :projects
22
22
23 # No '..' in the repository path
23 REPOSITORY_PATH = Rails.root.join('tmp/test/cvs_repository').to_s
24 REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/cvs_repository'
25 REPOSITORY_PATH.gsub!(/\//, "\\") if Redmine::Platform.mswin?
24 REPOSITORY_PATH.gsub!(/\//, "\\") if Redmine::Platform.mswin?
26 # CVS module
25 # CVS module
27 MODULE_NAME = 'test'
26 MODULE_NAME = 'test'
General Comments 0
You need to be logged in to leave comments. Login now