mirror of
https://github.com/redmine/redmine.git
synced 2026-07-09 05:23:48 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user