remove unneeded Relation#all from PrincipalTest

git-svn-id: http://svn.redmine.org/redmine/trunk@12712 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2014-01-27 00:08:47 +00:00
parent 45289b9791
commit e746e5dd83
1 changed files with 2 additions and 1 deletions

View 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