]> source.dussan.org Git - redmine.git/commitdiff
scm: git: fix PortgreSQL functional test fails (#5251).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 9 Mar 2011 01:25:40 +0000 (01:25 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Wed, 9 Mar 2011 01:25:40 +0000 (01:25 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5070 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/repositories_git_controller_test.rb

index 86d6035fb49804338fe2203372cc38dca5b93ded..fa3669f438f39c5b595bf6774acf01da2bbe857b 100644 (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