scm: mercurial: define NUM_REV as the number of test repository revisions at unit model test

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7098 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-09-11 14:11:54 +00:00
parent 1e3ae6d3ba
commit e772e9ea7b
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
fixtures :projects
REPOSITORY_PATH = Rails.root.join('tmp/test/mercurial_repository').to_s
NUM_REV = 29
CHAR_1_HEX = "\xc3\x9c"
if File.directory?(REPOSITORY_PATH)