summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_darcs_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/repository_darcs_test.rb')
-rw-r--r--test/unit/repository_darcs_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/repository_darcs_test.rb b/test/unit/repository_darcs_test.rb
index 53c91abb3..b1007580e 100644
--- a/test/unit/repository_darcs_test.rb
+++ b/test/unit/repository_darcs_test.rb
@@ -79,7 +79,7 @@ class RepositoryDarcsTest < ActiveSupport::TestCase
assert_equal NUM_REV, @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