From: Toshi MARUYAMA Date: Tue, 8 Mar 2011 06:49:44 +0000 (+0000) Subject: scm: git: prepare path encoding test in unit model test (#5251). X-Git-Tag: 1.2.0~791 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c381ce10e4857f1a24426b09e8e28b9c86c21959;p=redmine.git scm: git: prepare path encoding test in unit model test (#5251). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5051 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index a71c32970..4c9a24477 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -29,7 +29,11 @@ class RepositoryGitTest < ActiveSupport::TestCase def setup Setting.commit_logs_encoding = 'UTF-8' @project = Project.find(3) - @repository = Repository::Git.create(:project => @project, :url => REPOSITORY_PATH) + @repository = Repository::Git.create( + :project => @project, + :url => REPOSITORY_PATH, + :path_encoding => 'ISO-8859-1' + ) assert @repository end