From c381ce10e4857f1a24426b09e8e28b9c86c21959 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 8 Mar 2011 06:49:44 +0000 Subject: [PATCH] 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 --- test/unit/repository_git_test.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.39.5