From e63029cee44d2692360ba4b99e91a05904b931e8 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 27 Jan 2014 00:09:02 +0000 Subject: [PATCH] remove unneeded Relation#all from ProjectTest git-svn-id: http://svn.redmine.org/redmine/trunk@12713 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/project_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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| -- 2.39.5