summaryrefslogtreecommitdiffstats
path: root/test/unit/repository_subversion_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-09 09:55:26 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-09 09:55:26 +0000
commitd852b8a4e6df1df7024130fa35ce480ddd7306f5 (patch)
treef6c75e10b8288919684f9309e28f9e636e1b512f /test/unit/repository_subversion_test.rb
parente41271f2bd7c7c1a862e60f9b298dac590ce5505 (diff)
downloadredmine-d852b8a4e6df1df7024130fa35ce480ddd7306f5.tar.gz
redmine-d852b8a4e6df1df7024130fa35ce480ddd7306f5.zip
remove unneeded Relation#all from RepositorySubversionTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12577 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/repository_subversion_test.rb')
-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