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:
parent
81ef038587
commit
520a8e6f15
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue