summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_cvs_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/repository_cvs_test.rb')
-rw-r--r--test/unit/repository_cvs_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/repository_cvs_test.rb b/test/unit/repository_cvs_test.rb
index b718246b2..05f59d8a6 100644
--- a/test/unit/repository_cvs_test.rb
+++ b/test/unit/repository_cvs_test.rb
@@ -116,7 +116,7 @@ class RepositoryCvsTest < ActiveSupport::TestCase
assert_equal CHANGESETS_NUM, @repository.changesets.count
# Remove changesets with revision > 3
- @repository.changesets.find(:all).each {|c| c.destroy if c.revision.to_i > 3}
+ @repository.changesets.all.each {|c| c.destroy if c.revision.to_i > 3}
@project.reload
assert_equal 3, @repository.changesets.count
assert_equal %w|3 2 1|, @repository.changesets.all.collect(&:revision)