summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-06-18 17:02:39 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-06-18 17:02:39 +0000
commitfda7bcdfb6e6200b14f91baba9e3c3143635a50c (patch)
tree55c8c7505aaf08d965d085527d88b00016dbc442 /test
parentaf734b1b38e9e8534e02f2859f9cc53d6b385de6 (diff)
downloadredmine-fda7bcdfb6e6200b14f91baba9e3c3143635a50c.tar.gz
redmine-fda7bcdfb6e6200b14f91baba9e3c3143635a50c.zip
Mercurial adapter tests fix (#1469).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1563 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/unit/mercurial_adapter_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/mercurial_adapter_test.rb b/test/unit/mercurial_adapter_test.rb
index b4aaaec61..7c1ef85fd 100644
--- a/test/unit/mercurial_adapter_test.rb
+++ b/test/unit/mercurial_adapter_test.rb
@@ -4,9 +4,9 @@ begin
class MercurialAdapterTest < Test::Unit::TestCase
- TEMPLATES_DIR = "#{RAILS_ROOT}/extra/mercurial"
- TEMPLATE_NAME = "hg-template"
- TEMPLATE_EXTENSION = "tmpl"
+ TEMPLATES_DIR = Redmine::Scm::Adapters::MercurialAdapter::TEMPLATES_DIR
+ TEMPLATE_NAME = Redmine::Scm::Adapters::MercurialAdapter::TEMPLATE_NAME
+ TEMPLATE_EXTENSION = Redmine::Scm::Adapters::MercurialAdapter::TEMPLATE_EXTENSION
REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + '/tmp/test/mercurial_repository'