From 28b1b1ea9011364a312aa4e3ed884ff2e2f31e27 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Mon, 27 Jan 2014 00:09:19 +0000 Subject: [PATCH] remove unneeded Relation#all from UserTest git-svn-id: http://svn.redmine.org/redmine/trunk@12714 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/user_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb index 6e995b7e2..ed44ee489 100644 --- a/test/unit/user_test.rb +++ b/test/unit/user_test.rb @@ -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 -- 2.39.5