diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-27 00:08:47 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-01-27 00:08:47 +0000 |
commit | e746e5dd835ea628e417177d7408d925770353e4 (patch) | |
tree | e9ab99527b31dc745858a0ab5d4915f9b533d381 /test/unit/principal_test.rb | |
parent | 45289b9791c441b1db9e0c37638a9ff7194e54e8 (diff) | |
download | redmine-e746e5dd835ea628e417177d7408d925770353e4.tar.gz redmine-e746e5dd835ea628e417177d7408d925770353e4.zip |
remove unneeded Relation#all from PrincipalTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12712 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/principal_test.rb')
-rw-r--r-- | test/unit/principal_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/principal_test.rb b/test/unit/principal_test.rb index 3c8a803ec..af2bc99ed 100644 --- a/test/unit/principal_test.rb +++ b/test/unit/principal_test.rb @@ -65,7 +65,8 @@ class PrincipalTest < ActiveSupport::TestCase a.name.downcase <=> b.name.downcase end end - assert_equal expected_order.map(&:name).map(&:downcase), scope.sorted.all.map(&:name).map(&:downcase) + assert_equal expected_order.map(&:name).map(&:downcase), + scope.sorted.map(&:name).map(&:downcase) end test "like scope should search login" do |