diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-09 01:25:40 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-09 01:25:40 +0000 |
commit | f9717c0bda9c6bdfa151b5e400b874eed725a0c3 (patch) | |
tree | 0db20480086a22af3caf98ba9d6f7cf4c134a252 | |
parent | 16be7f2e300943f2a00e36f2d399f2fb8ba8d972 (diff) | |
download | redmine-f9717c0bda9c6bdfa151b5e400b874eed725a0c3.tar.gz redmine-f9717c0bda9c6bdfa151b5e400b874eed725a0c3.zip |
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
-rw-r--r-- | test/functional/repositories_git_controller_test.rb | 6 |
1 files changed, 5 insertions, 1 deletions
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 |