summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/repository_subversion_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/repository_subversion_test.rb b/test/unit/repository_subversion_test.rb
index 45eff11c8..b6c774586 100644
--- a/test/unit/repository_subversion_test.rb
+++ b/test/unit/repository_subversion_test.rb
@@ -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