]> source.dussan.org Git - redmine.git/commitdiff
remove unneeded Relation#all from UserTest
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 27 Jan 2014 00:09:19 +0000 (00:09 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Mon, 27 Jan 2014 00:09:19 +0000 (00:09 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12714 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/user_test.rb

index 6e995b7e2e605359a50be737d4c161c850eb21c0..ed44ee489e542afcd15777ed0008b4b7014b5f78 100644 (file)
@@ -35,7 +35,7 @@ class UserTest < ActiveSupport::TestCase
 
   def test_sorted_scope_should_sort_user_by_display_name
     assert_equal User.all.map(&:name).map(&:downcase).sort,
-                 User.sorted.all.map(&:name).map(&:downcase)
+                 User.sorted.map(&:name).map(&:downcase)
   end
 
   def test_generate