scm: mercurial: test: model: fix failing test_parents on PostgreSQL (#5501)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7719 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-11-03 09:58:07 +00:00
parent 9e238171ca
commit 4a5a4bad97
1 changed files with 3 additions and 4 deletions

View File

@ -273,10 +273,9 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
r2.parents[0].identifier
r3 = @repository.changesets.find_by_revision('30')
assert_equal 2, r3.parents.length
assert_equal "a94b0528f24f",
r3.parents[0].identifier
assert_equal "3a330eb32958",
r3.parents[1].identifier
r4 = [r3.parents[0].identifier, r3.parents[1].identifier].sort
assert_equal "3a330eb32958", r4[0]
assert_equal "a94b0528f24f", r4[1]
end
def test_activities