@@ -35,7 +35,7 class UserTest < ActiveSupport::TestCase | |||
|
35 | 35 | |
|
36 | 36 | def test_sorted_scope_should_sort_user_by_display_name |
|
37 | 37 | assert_equal User.all.map(&:name).map(&:downcase).sort, |
|
38 |
User.sorted |
|
|
38 | User.sorted.map(&:name).map(&:downcase) | |
|
39 | 39 | end |
|
40 | 40 | |
|
41 | 41 | def test_generate |
General Comments 0
You need to be logged in to leave comments.
Login now