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