scm: git: remove unnecessary log_encoding from overriding human_attribute_name test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8965 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
beb3b23fb6
commit
c5ed7bbce5
@ -63,8 +63,7 @@ class RepositoryGitTest < ActiveSupport::TestCase
|
|||||||
set_language_if_valid 'en'
|
set_language_if_valid 'en'
|
||||||
repo = Repository::Git.new(
|
repo = Repository::Git.new(
|
||||||
:project => @project,
|
:project => @project,
|
||||||
:identifier => 'test',
|
:identifier => 'test'
|
||||||
:log_encoding => 'UTF-8'
|
|
||||||
)
|
)
|
||||||
assert !repo.save
|
assert !repo.save
|
||||||
assert_include "Path to repository can't be blank",
|
assert_include "Path to repository can't be blank",
|
||||||
@ -79,7 +78,7 @@ class RepositoryGitTest < ActiveSupport::TestCase
|
|||||||
:project => @project,
|
:project => @project,
|
||||||
:url => "",
|
:url => "",
|
||||||
:identifier => 'test',
|
:identifier => 'test',
|
||||||
:log_encoding => 'UTF-8'
|
:path_encoding => ''
|
||||||
)
|
)
|
||||||
assert !repo.save
|
assert !repo.save
|
||||||
assert_include str, repo.errors.full_messages
|
assert_include str, repo.errors.full_messages
|
||||||
|
Loading…
x
Reference in New Issue
Block a user