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
This commit is contained in:
parent
c5ed7bbce5
commit
41c16ecb2f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue