Commit a9eea277 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

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
parent 50d962bb
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment