diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-02-24 12:38:35 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-02-24 12:38:35 +0000 |
commit | c5ed7bbce5b40feb5674a72a19a87dde9b38c0d1 (patch) | |
tree | 8ce7f938e36168283c98918784bee542ab71d0e8 /test/unit/repository_git_test.rb | |
parent | beb3b23fb63b4b796cc1633b9fe45c4beae9682f (diff) | |
download | redmine-c5ed7bbce5b40feb5674a72a19a87dde9b38c0d1.tar.gz redmine-c5ed7bbce5b40feb5674a72a19a87dde9b38c0d1.zip |
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
Diffstat (limited to 'test/unit/repository_git_test.rb')
-rw-r--r-- | test/unit/repository_git_test.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index bcddc11aa..91b41af94 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -63,8 +63,7 @@ class RepositoryGitTest < ActiveSupport::TestCase set_language_if_valid 'en' repo = Repository::Git.new( :project => @project, - :identifier => 'test', - :log_encoding => 'UTF-8' + :identifier => 'test' ) assert !repo.save assert_include "Path to repository can't be blank", @@ -79,7 +78,7 @@ class RepositoryGitTest < ActiveSupport::TestCase :project => @project, :url => "", :identifier => 'test', - :log_encoding => 'UTF-8' + :path_encoding => '' ) assert !repo.save assert_include str, repo.errors.full_messages |