]> source.dussan.org Git - redmine.git/commitdiff
scm: mercurial: remove duplicates tests in unit model test.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 11 Mar 2011 07:33:53 +0000 (07:33 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 11 Mar 2011 07:33:53 +0000 (07:33 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5090 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_mercurial_test.rb

index 281bb100454c9cb12b7a9b6c2ed517ecb8237cb0..28cb762ca962fb0ea6d85657b11af66aba4bbed6 100644 (file)
@@ -191,13 +191,6 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
       assert_equal 'abc400bb8672', c.event_url[:rev]
     end
 
-    def test_latest_changesets_with_limit
-      @repository.fetch_changesets
-      @repository.reload
-      changesets = @repository.latest_changesets('', nil, 2)
-      assert_equal @repository.latest_changesets('', nil)[0, 2], changesets
-    end
-
     def test_previous
       @repository.fetch_changesets
       @repository.reload