##// END OF EJS Templates
replace RAILS_ROOT to Rails.root at test/test_helper.rb....
Toshi MARUYAMA -
r5983:e4d082a42194
parent child
Show More
@@ -109,7 +109,7 class ActiveSupport::TestCase
109 109
110 110 # Returns the path to the test +vendor+ repository
111 111 def self.repository_path(vendor)
112 File.join(RAILS_ROOT.gsub(%r{config\/\.\.}, ''), "/tmp/test/#{vendor.downcase}_repository")
112 Rails.root.join("tmp/test/#{vendor.downcase}_repository").to_s
113 113 end
114 114
115 115 # Returns the url of the subversion test repository
General Comments 0
You need to be logged in to leave comments. Login now