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
This commit is contained in:
Toshi MARUYAMA 2011-03-14 11:03:34 +00:00
parent c8ce22c275
commit 29c1aadbb5
1 changed files with 2 additions and 4 deletions

View File

@ -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