]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: code clean up unit adapter test.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 18 May 2011 02:18:25 +0000 (02:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 18 May 2011 02:18:25 +0000 (02:18 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5826 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb

index 80fe70501ff806bebb4697a1477030132ca08125..8fe4e25404fd3dff6a621ee048ab2a5f49663287 100644 (file)
@@ -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
-