remove unneeded Relation#all from UserTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12714 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e63029cee4
commit
28b1b1ea90
|
@ -35,7 +35,7 @@ class UserTest < ActiveSupport::TestCase
|
||||||
|
|
||||||
def test_sorted_scope_should_sort_user_by_display_name
|
def test_sorted_scope_should_sort_user_by_display_name
|
||||||
assert_equal User.all.map(&:name).map(&:downcase).sort,
|
assert_equal User.all.map(&:name).map(&:downcase).sort,
|
||||||
User.sorted.all.map(&:name).map(&:downcase)
|
User.sorted.map(&:name).map(&:downcase)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_generate
|
def test_generate
|
||||||
|
|
Loading…
Reference in New Issue