From b5ce1b9cff8a5942face2bedc9c10586ce01b256 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Wed, 13 Nov 2019 13:22:05 +0000 Subject: [PATCH] Fix a Rubocop offense caused by r19065 (#16904). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19068 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/queries_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/queries_controller_test.rb b/test/functional/queries_controller_test.rb index 866495f2c..923202b02 100644 --- a/test/functional/queries_controller_test.rb +++ b/test/functional/queries_controller_test.rb @@ -761,7 +761,7 @@ class QueriesControllerTest < Redmine::ControllerTest assert_include ["<< me >>", "me"], json assert_include ["Dave Lopper", "3", "active"], json assert_include ["Dave2 Lopper2", "5", "locked"], json - assert_include ["Anonymous", "#{User.anonymous.id}"], json + assert_include ["Anonymous", User.anonymous.id.to_s], json end def test_user_filter_should_return_active_and_locked_users_grouped_by_status -- 2.39.5