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
parent 16be7f2e30
commit f9717c0bda
1 changed files with 5 additions and 1 deletions

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