]> source.dussan.org Git - redmine.git/commitdiff
remove unneeded Relation#all from RepositorySubversionTest
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 9 Jan 2014 09:55:26 +0000 (09:55 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 9 Jan 2014 09:55:26 +0000 (09:55 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12577 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/repository_subversion_test.rb

index 45eff11c8621c9083dcf0c7c53475153d9a1ebc5..b6c774586a1435d1880bceb5592bfd15a4c286ec 100644 (file)
@@ -75,7 +75,7 @@ class RepositorySubversionTest < ActiveSupport::TestCase
       assert_equal NUM_REV, @repository.changesets.count
 
       # Remove changesets with revision > 5
-      @repository.changesets.all.each {|c| c.destroy if c.revision.to_i > 5}
+      @repository.changesets.each {|c| c.destroy if c.revision.to_i > 5}
       @project.reload
       @repository.reload
       assert_equal 5, @repository.changesets.count