Skip to content

Commit 557620d

Browse files
committed
Address Rubocop Performance/StringInclude cop
1 parent 0c16082 commit 557620d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/spec_helper_acceptance.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
on(host, '/usr/sbin/svcadm restart /system/ca-certificates')
5353
timeout = 60
5454
counter = 0
55-
while on(host, 'svcs -x ca-certificates').output !~ %r{State: online}
55+
until on(host, 'svcs -x ca-certificates').output.include?('State: online')
5656
raise 'ca-certificates services failed start up' if counter > timeout
5757
sleep 5
5858
counter += 5

0 commit comments

Comments
 (0)