diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-04 08:07:53 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-04 08:07:53 +0000 |
commit | 53249469a074b9e2b970353082cc4bc39f788320 (patch) | |
tree | 908569ecf74b082a2d0aeb894469890bc78b3150 /test/unit/repository_mercurial_test.rb | |
parent | b7dffa44c92ce7a18f13504d5ad3f7b4d79ce57d (diff) | |
download | redmine-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.rb | 8 |
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) |