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:
parent
50d962bba1
commit
a9eea27742
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue