diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-11 07:33:53 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-11 07:33:53 +0000 |
commit | cb8c2d59bf7569aa2e24ad5b79852a6a82217e88 (patch) | |
tree | 2dfdf6d8aceeb595d2599b7bafc5e2f7811f908d /test/unit/repository_mercurial_test.rb | |
parent | 542e0cb88d2035049545f3c608af24a9065d4aea (diff) | |
download | redmine-cb8c2d59bf7569aa2e24ad5b79852a6a82217e88.tar.gz redmine-cb8c2d59bf7569aa2e24ad5b79852a6a82217e88.zip |
scm: mercurial: remove duplicates tests in unit model test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5090 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_mercurial_test.rb')
-rw-r--r-- | test/unit/repository_mercurial_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb index 281bb1004..28cb762ca 100644 --- a/test/unit/repository_mercurial_test.rb +++ b/test/unit/repository_mercurial_test.rb @@ -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 |