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:
Toshi MARUYAMA 2014-01-27 00:09:19 +00:00
parent e63029cee4
commit 28b1b1ea90
1 changed files with 1 additions and 1 deletions

View File

@ -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