summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-11-13 13:22:05 +0000
committerGo MAEDA <maeda@farend.jp>2019-11-13 13:22:05 +0000
commitb5ce1b9cff8a5942face2bedc9c10586ce01b256 (patch)
treea9a181cac3da2ebd6b0a78ab72b7bbd15977a01c /test
parent30fd23b9175e68b618c9dbb9bce4a9ca6ba7bd22 (diff)
downloadredmine-b5ce1b9cff8a5942face2bedc9c10586ce01b256.tar.gz
redmine-b5ce1b9cff8a5942face2bedc9c10586ce01b256.zip
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
Diffstat (limited to 'test')
-rw-r--r--test/functional/queries_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
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