summaryrefslogtreecommitdiffstats
path: root/test/unit/user_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-27 00:09:19 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-27 00:09:19 +0000
commit28b1b1ea9011364a312aa4e3ed884ff2e2f31e27 (patch)
tree29716b35c9371a2eeb556a9c2afe2b01f7f4abc3 /test/unit/user_test.rb
parente63029cee44d2692360ba4b99e91a05904b931e8 (diff)
downloadredmine-28b1b1ea9011364a312aa4e3ed884ff2e2f31e27.tar.gz
redmine-28b1b1ea9011364a312aa4e3ed884ff2e2f31e27.zip
remove unneeded Relation#all from UserTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12714 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r--test/unit/user_test.rb2
1 files changed, 1 insertions, 1 deletions
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