summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_mercurial_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-25 10:27:42 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-10-25 10:27:42 +0000
commit520a8e6f15e2ff6b8b1ec207544815d90102ecf7 (patch)
tree5c0aee67227c14450dc7d169413492a231d00679 /test/unit/repository_mercurial_test.rb
parent81ef038587ae640c2aec351ce3046352d3326da4 (diff)
downloadredmine-520a8e6f15e2ff6b8b1ec207544815d90102ecf7.tar.gz
redmine-520a8e6f15e2ff6b8b1ec207544815d90102ecf7.zip
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
Diffstat (limited to 'test/unit/repository_mercurial_test.rb')
-rw-r--r--test/unit/repository_mercurial_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb
index 765094308..402565ee9 100644
--- a/test/unit/repository_mercurial_test.rb
+++ b/test/unit/repository_mercurial_test.rb
@@ -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