]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: add latest changesets improvement test in functional test.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 14 Mar 2011 11:03:34 +0000 (11:03 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 14 Mar 2011 11:03:34 +0000 (11:03 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5124 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/repositories_mercurial_controller_test.rb

index b8bc7c2f7696f1fd5d43cf4ced2dd03d0bea2f03..3aa2bd797088cac3964ae5e991fc102d72635986 100644 (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