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