From 1f0ddc31995efe0c954d25ffa8ab5bc7c86ef7e2 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 18 May 2011 02:18:25 +0000 Subject: [PATCH] scm: mercurial: code clean up unit adapter test. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5826 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb index 80fe70501..8fe4e2540 100644 --- a/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb @@ -4,8 +4,8 @@ begin class MercurialAdapterTest < ActiveSupport::TestCase - HELPERS_DIR = Redmine::Scm::Adapters::MercurialAdapter::HELPERS_DIR - TEMPLATE_NAME = Redmine::Scm::Adapters::MercurialAdapter::TEMPLATE_NAME + HELPERS_DIR = Redmine::Scm::Adapters::MercurialAdapter::HELPERS_DIR + TEMPLATE_NAME = Redmine::Scm::Adapters::MercurialAdapter::TEMPLATE_NAME TEMPLATE_EXTENSION = Redmine::Scm::Adapters::MercurialAdapter::TEMPLATE_EXTENSION REPOSITORY_PATH = RAILS_ROOT.gsub(%r{config\/\.\.}, '') + @@ -349,10 +349,8 @@ begin def test_fake; assert true end end end - rescue LoadError class MercurialMochaFake < ActiveSupport::TestCase def test_fake; assert(false, "Requires mocha to run those tests") end end end - -- 2.39.5