]> source.dussan.org Git - redmine.git/commitdiff
scm: git: strict Ruby 1.9 string test in unit model test.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 17 Mar 2011 03:54:00 +0000 (03:54 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 17 Mar 2011 03:54:00 +0000 (03:54 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5163 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_git_test.rb

index d9aaac5996aaa68788a71323515a3c24a5cb638c..22fc31656883b873a0e4d8433121962dbc374ea1 100644 (file)
@@ -261,7 +261,7 @@ class RepositoryGitTest < ActiveSupport::TestCase
     def test_log_utf8
       @repository.fetch_changesets
       @repository.reload
-      str_felix_hex  = FELIX_HEX
+      str_felix_hex  = FELIX_HEX.dup
       if str_felix_hex.respond_to?(:force_encoding)
           str_felix_hex.force_encoding('UTF-8')
       end