summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_mercurial_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-04 08:07:53 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-04 08:07:53 +0000
commit53249469a074b9e2b970353082cc4bc39f788320 (patch)
tree908569ecf74b082a2d0aeb894469890bc78b3150 /test/unit/repository_mercurial_test.rb
parentb7dffa44c92ce7a18f13504d5ad3f7b4d79ce57d (diff)
downloadredmine-53249469a074b9e2b970353082cc4bc39f788320.tar.gz
redmine-53249469a074b9e2b970353082cc4bc39f788320.zip
scm: mercurial: update test repository for path contains space (#2664, #4455).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4997 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_mercurial_test.rb')
-rw-r--r--test/unit/repository_mercurial_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb
index 9c3032bf3..d4053e1f4 100644
--- a/test/unit/repository_mercurial_test.rb
+++ b/test/unit/repository_mercurial_test.rb
@@ -37,8 +37,8 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
def test_fetch_changesets_from_scratch
@repository.fetch_changesets
@repository.reload
- assert_equal 25, @repository.changesets.count
- assert_equal 32, @repository.changes.count
+ assert_equal 27, @repository.changesets.count
+ assert_equal 34, @repository.changes.count
assert_equal "Initial import.\nThe repository contains 3 files.",
@repository.changesets.find_by_revision('0').comments
end
@@ -51,7 +51,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
assert_equal 3, @repository.changesets.count
@repository.fetch_changesets
- assert_equal 25, @repository.changesets.count
+ assert_equal 27, @repository.changesets.count
end
def test_isodatesec
@@ -174,7 +174,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
@repository.fetch_changesets
@repository.reload
changesets = @repository.latest_changesets('README', nil)
- assert_equal %w|17 8 6 1 0|, changesets.collect(&:revision)
+ assert_equal %w|26 17 8 6 1 0|, changesets.collect(&:revision)
path = 'sql_escape/percent%dir/percent%file1.txt'
changesets = @repository.latest_changesets(path, nil)