]> source.dussan.org Git - redmine.git/commitdiff
remove space inside array brackets from test/unit/search_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 11 Dec 2020 14:18:19 +0000 (14:18 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Fri, 11 Dec 2020 14:18:19 +0000 (14:18 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20628 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/search_test.rb

index 5c98fdc92b20bc42249a64d8bfc696066ac9cf71..6027d3c2af18e250a64af31225cd2cd3727520b2 100644 (file)
@@ -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