diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb index d8dd55548..5586ee43b 100644 --- a/test/unit/repository_mercurial_test.rb +++ b/test/unit/repository_mercurial_test.rb @@ -255,8 +255,10 @@ class RepositoryMercurialTest < ActiveSupport::TestCase end def test_previous + assert_equal 0, @repository.changesets.count @repository.fetch_changesets - @repository.reload + @project.reload + assert_equal NUM_REV, @repository.changesets.count %w|28 3ae45e2d177d 3ae45|.each do |r1| changeset = @repository.find_changeset_by_name(r1) %w|27 7bbf4c738e71 7bbf|.each do |r2|