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

scm: mercurial: add latest changesets improvement test in functional test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5124 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent ec6e2d17
......@@ -124,11 +124,9 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
assert_not_nil assigns(:entries)
assert_equal ['percent%file1.txt', 'percentfile1.txt'], assigns(:entries).collect(&:name)
changesets = assigns(:changesets)
assert_not_nil changesets
assigns(:changesets).size > 0
## This is not yet implemented.
# assert_not_nil changesets
# assert_equal %w(13 11 10 9), changesets.collect(&:revision)
assert_equal %w(13 11 10 9), changesets.collect(&:revision)
end
end
......
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