scm: darcs: 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@7092 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-09-11 11:52:34 +00:00
parent 3a9862b83f
commit fd1cb7844b
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ class RepositoryDarcsTest < ActiveSupport::TestCase
fixtures :projects
REPOSITORY_PATH = Rails.root.join('tmp/test/darcs_repository').to_s
NUM_REV = 6
def setup
@project = Project.find(3)