Skip to content

Commit

Permalink
Address Rubocop Performance/StringInclude cop
Browse files Browse the repository at this point in the history
  • Loading branch information
mhashizume committed Jan 10, 2024
1 parent 0c16082 commit 557620d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper_acceptance.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
on(host, '/usr/sbin/svcadm restart /system/ca-certificates')
timeout = 60
counter = 0
while on(host, 'svcs -x ca-certificates').output !~ %r{State: online}
until on(host, 'svcs -x ca-certificates').output.include?('State: online')
raise 'ca-certificates services failed start up' if counter > timeout
sleep 5
counter += 5
Expand Down

0 comments on commit 557620d

Please sign in to comment.