Commit 8235e0f4 authored by Toshi MARUYAMA's avatar Toshi MARUYAMA Committed by Eric Davis

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
parent 18decee6
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment