]> source.dussan.org Git - redmine.git/commitdiff
remove unneeded Relation#all from ProjectTest
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 27 Jan 2014 00:09:02 +0000 (00:09 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 27 Jan 2014 00:09:02 +0000 (00:09 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12713 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/project_test.rb

index db1fa2f8b72cf882ab4a7725968c5e69cff016a8..ad65e7e3d8caa2f20b4b8293bb79aca6a23e3072 100644 (file)
@@ -584,7 +584,7 @@ class ProjectTest < ActiveSupport::TestCase
     assert_equal [1,2,3], parent.version_ids.sort
     assert_equal [4], child.version_ids
     assert_equal [6], private_child.version_ids
-    assert_equal [7], Version.where(:sharing => 'system').all.collect(&:id)
+    assert_equal [7], Version.where(:sharing => 'system').collect(&:id)
 
     assert_equal 6, parent.shared_versions.size
     parent.shared_versions.each do |version|