From d426e4452b32fcc3961de0dfdccb3bf25794c159 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sun, 9 Jan 2011 23:39:46 +0000 Subject: [PATCH] Merged r4644 and r4674 from trunk (mercurial unit app test). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.1-stable@4675 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/repository_mercurial_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb index 27e45fcc1..0938c824b 100644 --- a/test/unit/repository_mercurial_test.rb +++ b/test/unit/repository_mercurial_test.rb @@ -102,7 +102,8 @@ class RepositoryMercurialTest < ActiveSupport::TestCase @repository.reload cs1 = @repository.changesets.find_by_revision('13') - c1 = cs1.changes + assert_not_nil cs1 + c1 = cs1.changes.sort_by(&:path) assert_equal 2, c1.size assert_equal 'A', c1[0].action -- 2.39.5