Commit a2fc92cd authored by tmaruyama's avatar tmaruyama
Browse files

scm: git: replace RAILS_ROOT to Rails.root in unit adapter test.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 561dcdae
......@@ -8,7 +8,7 @@ begin
require 'mocha'
class GitAdapterTest < ActiveSupport::TestCase
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/git_repository'
REPOSITORY_PATH = Rails.root.join('tmp/test/git_repository').to_s
FELIX_UTF8 = "Felix Schäfer"
FELIX_HEX = "Felix Sch\xC3\xA4fer"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment