From: Toshi MARUYAMA Date: Mon, 27 Jan 2014 00:08:47 +0000 (+0000) Subject: remove unneeded Relation#all from PrincipalTest X-Git-Tag: 2.5.0~188 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e746e5dd835ea628e417177d7408d925770353e4;p=redmine.git remove unneeded Relation#all from PrincipalTest git-svn-id: http://svn.redmine.org/redmine/trunk@12712 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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