]> source.dussan.org Git - redmine.git/commitdiff
Fix a Rubocop offense caused by r19065 (#16904).
authorGo MAEDA <maeda@farend.jp>
Wed, 13 Nov 2019 13:22:05 +0000 (13:22 +0000)
committerGo MAEDA <maeda@farend.jp>
Wed, 13 Nov 2019 13:22:05 +0000 (13:22 +0000)
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

index 866495f2c55fcac041a8e82114225d489e5f0147..923202b02e15c1ff3fa42463ab4ef43f4eef6104 100644 (file)
@@ -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