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:
parent
45289b9791
commit
e746e5dd83
|
@ -65,7 +65,8 @@ class PrincipalTest < ActiveSupport::TestCase
|
||||||
a.name.downcase <=> b.name.downcase
|
a.name.downcase <=> b.name.downcase
|
||||||
end
|
end
|
||||||
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
|
end
|
||||||
|
|
||||||
test "like scope should search login" do
|
test "like scope should search login" do
|
||||||
|
|
Loading…
Reference in New Issue