From e41271f2bd7c7c1a862e60f9b298dac590ce5505 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 9 Jan 2014 09:55:10 +0000 Subject: [PATCH] remove unneeded Relation#all from RepositoryMercurialTest git-svn-id: http://svn.redmine.org/redmine/trunk@12576 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/repository_mercurial_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb index 207528b53..4bf53c02c 100644 --- a/test/unit/repository_mercurial_test.rb +++ b/test/unit/repository_mercurial_test.rb @@ -102,7 +102,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase @project.reload assert_equal NUM_REV, @repository.changesets.count # Remove changesets with revision > 2 - @repository.changesets.all.each {|c| c.destroy if c.revision.to_i > 2} + @repository.changesets.each {|c| c.destroy if c.revision.to_i > 2} @project.reload @repository.reload assert_equal 3, @repository.changesets.count -- 2.39.5