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

test/unit/principal_test.rb

index 3c8a803ec20e9be8bca88cc515b37f5e6b6d0be0..af2bc99edbf61a5168bee02121942d5f4ced7f33 100644 (file)
@@ -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