summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-02-24 12:38:58 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-02-24 12:38:58 +0000
commit41c16ecb2fed8be4f2eec2fac41cb054db986f7c (patch)
treeca71d69dc6403529d67507564a935b7f95921eeb
parentc5ed7bbce5b40feb5674a72a19a87dde9b38c0d1 (diff)
downloadredmine-41c16ecb2fed8be4f2eec2fac41cb054db986f7c.tar.gz
redmine-41c16ecb2fed8be4f2eec2fac41cb054db986f7c.zip
scm: mercurial: remove unnecessary log_encoding from overriding human_attribute_name test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8966 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/unit/repository_mercurial_test.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb
index f5206e3f9..6a7bf0c37 100644
--- a/test/unit/repository_mercurial_test.rb
+++ b/test/unit/repository_mercurial_test.rb
@@ -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