remove unneeded Relation#all from RepositorySubversionTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12577 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e41271f2bd
commit
d852b8a4e6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue