##// END OF EJS Templates
Rails3: scm: git: fix error of test_log_utf8 at unit model test...
Toshi MARUYAMA -
r6971:3a9862b83f42
parent child
Show More
@@ -414,8 +414,10 class RepositoryGitTest < ActiveSupport::TestCase
414 end
414 end
415
415
416 def test_log_utf8
416 def test_log_utf8
417 assert_equal 0, @repository.changesets.count
417 @repository.fetch_changesets
418 @repository.fetch_changesets
418 @repository.reload
419 @project.reload
420 assert_equal NUM_REV, @repository.changesets.count
419 str_felix_hex = FELIX_HEX.dup
421 str_felix_hex = FELIX_HEX.dup
420 if str_felix_hex.respond_to?(:force_encoding)
422 if str_felix_hex.respond_to?(:force_encoding)
421 str_felix_hex.force_encoding('UTF-8')
423 str_felix_hex.force_encoding('UTF-8')
General Comments 0
You need to be logged in to leave comments. Login now