From e8b75e47f83229c0be03da76387901d98af1c1b1 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Tue, 26 Nov 2019 06:30:32 +0000 Subject: [PATCH] cleanup: rubocop: fix Layout/SpaceInsideBlockBraces in test/unit/principal_test.rb git-svn-id: http://svn.redmine.org/redmine/trunk@19316 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/principal_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/unit/principal_test.rb b/test/unit/principal_test.rb index 593a6156d..352a26166 100644 --- a/test/unit/principal_test.rb +++ b/test/unit/principal_test.rb @@ -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 -- 2.39.5