From e746e5dd835ea628e417177d7408d925770353e4 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 27 Jan 2014 00:08:47 +0000 Subject: [PATCH] remove unneeded Relation#all from PrincipalTest git-svn-id: http://svn.redmine.org/redmine/trunk@12712 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/principal_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/principal_test.rb b/test/unit/principal_test.rb index 3c8a803ec..af2bc99ed 100644 --- a/test/unit/principal_test.rb +++ b/test/unit/principal_test.rb @@ -65,7 +65,8 @@ class PrincipalTest < ActiveSupport::TestCase a.name.downcase <=> b.name.downcase end end - assert_equal expected_order.map(&:name).map(&:downcase), scope.sorted.all.map(&:name).map(&:downcase) + assert_equal expected_order.map(&:name).map(&:downcase), + scope.sorted.map(&:name).map(&:downcase) end test "like scope should search login" do