From: Toshi MARUYAMA Date: Mon, 27 Jan 2014 00:09:02 +0000 (+0000) Subject: remove unneeded Relation#all from ProjectTest X-Git-Tag: 2.5.0~187 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e63029cee44d2692360ba4b99e91a05904b931e8;p=redmine.git remove unneeded Relation#all from ProjectTest git-svn-id: http://svn.redmine.org/redmine/trunk@12713 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb index db1fa2f8b..ad65e7e3d 100644 --- a/test/unit/project_test.rb +++ b/test/unit/project_test.rb @@ -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|