Fixes random failure (database may not return changes in the order expected in the test).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4674 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-01-09 21:12:20 +00:00
parent 50d962bba1
commit a9eea27742
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase
cs1 = @repository.changesets.find_by_revision('13')
assert_not_nil cs1
c1 = cs1.changes
c1 = cs1.changes.sort_by(&:path)
assert_equal 2, c1.size
assert_equal 'A', c1[0].action