From 379f8691b774f0dbc67c3be18634bf7e4b3c8367 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 7 Sep 2011 00:57:19 +0000 Subject: [PATCH] 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 --- test/unit/repository_git_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index f102f5e30..6963504ee 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -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') -- 2.39.5