From: Go MAEDA Date: Wed, 13 Nov 2019 13:22:05 +0000 (+0000) Subject: Fix a Rubocop offense caused by r19065 (#16904). X-Git-Tag: 4.1.0~38^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b5ce1b9cff8a5942face2bedc9c10586ce01b256;p=redmine.git 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 --- 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