From: Toshi MARUYAMA Date: Wed, 9 Mar 2011 01:25:40 +0000 (+0000) Subject: scm: git: fix PortgreSQL functional test fails (#5251). X-Git-Tag: 1.2.0~772 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f9717c0bda9c6bdfa151b5e400b874eed725a0c3;p=redmine.git 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 --- diff --git a/test/functional/repositories_git_controller_test.rb b/test/functional/repositories_git_controller_test.rb index 86d6035fb..fa3669f43 100644 --- a/test/functional/repositories_git_controller_test.rb +++ b/test/functional/repositories_git_controller_test.rb @@ -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