##// END OF EJS Templates
scm: filesystem: replace RAILS_ROOT to Rails.root in unit model test....
Toshi MARUYAMA -
r5934:407761985e5a
parent child
Show More
@@ -20,8 +20,7 require File.expand_path('../../test_helper', __FILE__)
20 class RepositoryFilesystemTest < ActiveSupport::TestCase
20 class RepositoryFilesystemTest < ActiveSupport::TestCase
21 fixtures :projects
21 fixtures :projects
22
22
23 # No '..' in the repository path
23 REPOSITORY_PATH = Rails.root.join('tmp/test/filesystem_repository').to_s
24 REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/filesystem_repository'
25
24
26 def setup
25 def setup
27 @project = Project.find(3)
26 @project = Project.find(3)
General Comments 0
You need to be logged in to leave comments. Login now