scm: git: fix PortgreSQL functional test fails (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5070 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-03-09 01:25:40 +00:00 committed by Eric Davis
parent ae5cfa0935
commit 2f87c5f582

View File

@ -33,7 +33,11 @@ class RepositoriesGitControllerTest < ActionController::TestCase
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
User.current = nil
@repository = Repository::Git.create(:project => Project.find(3), :url => REPOSITORY_PATH)
@repository = Repository::Git.create(
:project => Project.find(3),
:url => REPOSITORY_PATH,
:path_encoding => 'ISO-8859-1'
)
assert @repository
end