Sha256: c937e929cb70f3842bcf2818d761d783cceaf5a7ac26fe9be46f4ea12393a3cf
Contents?: true
Size: 269 Bytes
Versions: 25
Compression:
Stored size: 269 Bytes
Contents
RSpec::Matchers.define :run_under_account do |account_name| match do |service| Backend::PowerShell::Command.new do exec "(Get-WmiObject win32_service | where-object { $_.Name -eq '#{service.name}' }).StartName -eq '#{account_name}" end end end
Version data entries
25 entries across 25 versions & 1 rubygems