Commit ee003a6c authored by Toshi MARUYAMA's avatar Toshi MARUYAMA Committed by Eric Davis

scm: git: add latin-1 encoding directory test in unit model test (#5251).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5063 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent fcfb5897
......@@ -197,6 +197,20 @@ class RepositoryGitTest < ActiveSupport::TestCase
], changesets.collect(&:revision)
end
def test_latest_changesets_latin_1_dir
if Redmine::Platform.mswin?
# TODO
else
@repository.fetch_changesets
@repository.reload
changesets = @repository.latest_changesets(
"latin-1-dir/test-#{@char_1}-subdir", '1ca7f5ed')
assert_equal [
'1ca7f5ed374f3cb31a93ae5215c2e25cc6ec5127',
], changesets.collect(&:revision)
end
end
def test_find_changeset_by_name
@repository.fetch_changesets
@repository.reload
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment