summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_git_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-07 00:57:19 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-09-07 00:57:19 +0000
commit379f8691b774f0dbc67c3be18634bf7e4b3c8367 (patch)
tree87ad4bb8b48a3a371d8ebe19bc465dedf6d3416d /test/unit/repository_git_test.rb
parent32b328f8d504a323f4ae59996cd20f316d9b89e0 (diff)
downloadredmine-379f8691b774f0dbc67c3be18634bf7e4b3c8367.tar.gz
redmine-379f8691b774f0dbc67c3be18634bf7e4b3c8367.zip
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
Diffstat (limited to 'test/unit/repository_git_test.rb')
-rw-r--r--test/unit/repository_git_test.rb2
1 files changed, 1 insertions, 1 deletions
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')