scm: mercurial: use NUM_REV instead of hard-coded number of revisions at "test_fetch_changesets_incremental" of unit model test

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7652 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-10-25 10:27:42 +00:00
parent 81ef038587
commit 520a8e6f15
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
@repository.fetch_changesets
@project.reload
assert_equal 29, @repository.changesets.count
assert_equal NUM_REV, @repository.changesets.count
end
def test_isodatesec