Skip to content

Commit 63b7264

Browse files
committed
Address Rubocop Performance/StringInclude cop
1 parent 0bb797f commit 63b7264

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
@@ -63,7 +63,7 @@ def solaris_agents
6363
on(host, '/usr/sbin/svcadm restart /system/ca-certificates')
6464
timeout = 60
6565
counter = 0
66-
while on(host, 'svcs -x ca-certificates').output !~ %r{State: online}
66+
until on(host, 'svcs -x ca-certificates').output.include?('State: online')
6767
raise 'ca-certificates services failed start up' if counter > timeout
6868
sleep 5
6969
counter += 5

0 commit comments

Comments
 (0)