summaryrefslogtreecommitdiffstats
path: root/test/unit/user_query_test.rb
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2023-11-27 20:58:55 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2023-11-27 20:58:55 +0000
commit7b911245d31509da8fa656bbedc37213d3148897 (patch)
treee3c7dd7cb0bd2438a895474056cfadbb4ac3262a /test/unit/user_query_test.rb
parent859bc07edb1f74ab348ff3c54b9af48e714575a2 (diff)
downloadredmine-7b911245d31509da8fa656bbedc37213d3148897.tar.gz
redmine-7b911245d31509da8fa656bbedc37213d3148897.zip
Updates Rails to 7.1.2 (#36320).
Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22488 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/user_query_test.rb')
-rw-r--r--test/unit/user_query_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/user_query_test.rb b/test/unit/user_query_test.rb
index e5d8dd312..76ad3bd36 100644
--- a/test/unit/user_query_test.rb
+++ b/test/unit/user_query_test.rb
@@ -209,7 +209,7 @@ class UserQueryTest < ActiveSupport::TestCase
users = q.results_scope
assert_equal 2, users.size
- assert_equal [2, 1], users.ids
+ assert_equal [2, 1], users.pluck(:id)
end
def find_users_with_query(query)