]> source.dussan.org Git - redmine.git/commitdiff
cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in test/unit/principal_test.rb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 26 Nov 2019 06:30:32 +0000 (06:30 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 26 Nov 2019 06:30:32 +0000 (06:30 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19316 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/principal_test.rb

index 593a6156d32f22740022f13191304e624c2dbf0d..352a2616693c4c33e3b134400c991c124b04a843 100644 (file)
@@ -93,28 +93,28 @@ class PrincipalTest < ActiveSupport::TestCase
     results = Principal.like('jsmi')
 
     assert results.any?
-    assert results.all? {|u| u.login.match(/jsmi/i) }
+    assert results.all? {|u| u.login.match(/jsmi/i)}
   end
 
   test "like scope should search firstname" do
     results = Principal.like('john')
 
     assert results.any?
-    assert results.all? {|u| u.firstname.match(/john/i) }
+    assert results.all? {|u| u.firstname.match(/john/i)}
   end
 
   test "like scope should search lastname" do
     results = Principal.like('smi')
 
     assert results.any?
-    assert results.all? {|u| u.lastname.match(/smi/i) }
+    assert results.all? {|u| u.lastname.match(/smi/i)}
   end
 
   test "like scope should search mail" do
     results = Principal.like('somenet')
 
     assert results.any?
-    assert results.all? {|u| u.mail.match(/somenet/i) }
+    assert results.all? {|u| u.mail.match(/somenet/i)}
   end
 
   test "like scope should search firstname and lastname" do