]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: remove unnecessary log_encoding from overriding human_attribute_name...
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 24 Feb 2012 12:38:58 +0000 (12:38 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 24 Feb 2012 12:38:58 +0000 (12:38 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8966 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_mercurial_test.rb

index f5206e3f9315affcafbe72297f7863df3e2c1096..6a7bf0c379093fa763b6c5cee07b1dacdc0f853d 100644 (file)
@@ -51,8 +51,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
     set_language_if_valid 'en'
     repo = Repository::Mercurial.new(
                           :project      => @project,
-                          :identifier   => 'test',
-                          :log_encoding => 'UTF-8'
+                          :identifier   => 'test'
                         )
     assert !repo.save
     assert_include "Path to repository can't be blank",
@@ -67,7 +66,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
                           :project      => @project,
                           :url          => "",
                           :identifier   => 'test',
-                          :log_encoding => 'UTF-8'
+                          :path_encoding => ''
                         )
     assert !repo.save
     assert_include str, repo.errors.full_messages