scm: git: replace RAILS_ROOT to Rails.root in unit adapter test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6038 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
a6f1ae1f96
commit
72dd13a330
@ -8,7 +8,7 @@ begin
|
|||||||
require 'mocha'
|
require 'mocha'
|
||||||
|
|
||||||
class GitAdapterTest < ActiveSupport::TestCase
|
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_UTF8 = "Felix Schäfer"
|
||||||
FELIX_HEX = "Felix Sch\xC3\xA4fer"
|
FELIX_HEX = "Felix Sch\xC3\xA4fer"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user