]> source.dussan.org Git - redmine.git/commitdiff
scm: git: prepare path encoding test in unit model test (#5251).
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 8 Mar 2011 06:49:44 +0000 (06:49 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 8 Mar 2011 06:49:44 +0000 (06:49 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5051 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_git_test.rb

index a71c3297010ff0fdb15821560cee5dbffe47fa06..4c9a244774cc31f5e7cb398ddcc4bb12a8e158eb 100644 (file)
@@ -29,7 +29,11 @@ class RepositoryGitTest < ActiveSupport::TestCase
   def setup
     Setting.commit_logs_encoding = 'UTF-8'
     @project = Project.find(3)
-    @repository = Repository::Git.create(:project => @project, :url => REPOSITORY_PATH)
+    @repository = Repository::Git.create(
+                      :project       => @project,
+                      :url           => REPOSITORY_PATH,
+                      :path_encoding => 'ISO-8859-1'
+                      )
     assert @repository
   end