diff options
Diffstat (limited to 'spec/functional/win32/crypto_spec.rb')
-rw-r--r-- | spec/functional/win32/crypto_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/win32/crypto_spec.rb b/spec/functional/win32/crypto_spec.rb index 5fcbca02b6..70d3f42cfb 100644 --- a/spec/functional/win32/crypto_spec.rb +++ b/spec/functional/win32/crypto_spec.rb @@ -36,7 +36,7 @@ describe "Chef::ReservedNames::Win32::Crypto", :windows_only do it "can be decrypted by powershell" do encrypted = Chef::ReservedNames::Win32::Crypto.encrypt(plaintext) - resource = Chef::Resource::WindowsScript::PowershellScript.new("Powershell resource functional test", @run_context) + resource = Chef::Resource::WindowsScript::PowershellScript.new("PowerShell resource functional test", @run_context) resource.code <<~EOF $encrypted = '#{encrypted}' | ConvertTo-SecureString $BSTR = [System.Runtime.InteropServices.Marshal]::SecureStringToBSTR($encrypted) |