scm: git: use NUM_REV at test_fetch_changesets_from_scratch of unit model test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7064 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
32b328f8d5
commit
379f8691b7
|
@ -70,7 +70,7 @@ class RepositoryGitTest < ActiveSupport::TestCase
|
|||
@repository.fetch_changesets
|
||||
@project.reload
|
||||
|
||||
assert_equal 21, @repository.changesets.count
|
||||
assert_equal NUM_REV, @repository.changesets.count
|
||||
assert_equal 33, @repository.changes.count
|
||||
|
||||
commit = @repository.changesets.find(:first, :order => 'committed_on ASC')
|
||||
|
|
Loading…
Reference in New Issue