diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-12 01:14:24 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-09-12 01:14:24 +0000 |
commit | 467d72bbb8c42dafb9d84f5b62f5f9a1a7f1d82c (patch) | |
tree | 2cef9a0c9fbede472ff81876b047171327a6aa42 /test | |
parent | e47f55eccfcf5332a1b7e9547245bb9b0a61eb9e (diff) | |
download | redmine-467d72bbb8c42dafb9d84f5b62f5f9a1a7f1d82c.tar.gz redmine-467d72bbb8c42dafb9d84f5b62f5f9a1a7f1d82c.zip |
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
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/repositories_mercurial_controller_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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') |