inspec/test/integration/default/powershell_spec.rb
2016-03-18 15:47:00 +01:00

13 lines
219 B
Ruby

# encoding: utf-8
script = <<-EOH
Write-Output 'hello'
EOH
describe powershell(script) do
its('stdout') { should eq 'hello' }
end
# legacy test
describe script(script) do
its('stdout') { should eq 'hello' }
end