scm: bazaar: replace RAILS_ROOT to Rails.root in functional test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6058 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
fa93c2b2bb
commit
406b582a82
|
@ -25,9 +25,7 @@ class RepositoriesBazaarControllerTest < ActionController::TestCase
|
||||||
fixtures :projects, :users, :roles, :members, :member_roles,
|
fixtures :projects, :users, :roles, :members, :member_roles,
|
||||||
:repositories, :enabled_modules
|
:repositories, :enabled_modules
|
||||||
|
|
||||||
# No '..' in the repository path
|
REPOSITORY_PATH = Rails.root.join('tmp/test/bazaar_repository/trunk').to_s
|
||||||
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') +
|
|
||||||
'/tmp/test/bazaar_repository/trunk'
|
|
||||||
PRJ_ID = 3
|
PRJ_ID = 3
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
|
|
Loading…
Reference in New Issue