From ae47da64fc6537dc78c8057bb372a815f160ebb6 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Fri, 11 Dec 2020 14:18:19 +0000 Subject: [PATCH] remove space inside array brackets from test/unit/search_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@20628 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/search_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/search_test.rb b/test/unit/search_test.rb index 5c98fdc92..6027d3c2a 100644 --- a/test/unit/search_test.rb +++ b/test/unit/search_test.rb @@ -206,7 +206,7 @@ class SearchTest < ActiveSupport::TestCase private def remove_permission(role, permission) - role.permissions = role.permissions - [ permission ] + role.permissions = role.permissions - [permission] role.save end end -- 2.39.5