##// END OF EJS Templates
scm: filesystem: replace RAILS_ROOT to Rails.root in unit adapter test....
Toshi MARUYAMA -
r5933:7786633ddc89
parent child
Show More
@@ -2,8 +2,7
2 require File.expand_path('../../../../../../test_helper', __FILE__)
2 require File.expand_path('../../../../../../test_helper', __FILE__)
3
3
4 class FilesystemAdapterTest < ActiveSupport::TestCase
4 class FilesystemAdapterTest < ActiveSupport::TestCase
5
5 REPOSITORY_PATH = Rails.root.join('tmp/test/filesystem_repository').to_s
6 REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/filesystem_repository'
7
6
8 if File.directory?(REPOSITORY_PATH)
7 if File.directory?(REPOSITORY_PATH)
9 def setup
8 def setup
General Comments 0
You need to be logged in to leave comments. Login now