From 467d72bbb8c42dafb9d84f5b62f5f9a1a7f1d82c Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 12 Sep 2011 01:14:24 +0000 Subject: [PATCH] scm: mercurial: define NUM_REV as the number of test repository revisions at functional test git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7126 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/repositories_mercurial_controller_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/functional/repositories_mercurial_controller_test.rb b/test/functional/repositories_mercurial_controller_test.rb index ecc9007eb..278abaa5b 100644 --- a/test/functional/repositories_mercurial_controller_test.rb +++ b/test/functional/repositories_mercurial_controller_test.rb @@ -28,6 +28,7 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase REPOSITORY_PATH = Rails.root.join('tmp/test/mercurial_repository').to_s CHAR_1_HEX = "\xc3\x9c" PRJ_ID = 3 + NUM_REV = 29 ruby19_non_utf8_pass = (RUBY_VERSION >= '1.9' && Encoding.default_external.to_s != 'UTF-8')