diff options
author | Tim Smith <tsmith@chef.io> | 2018-09-07 14:37:50 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2018-09-07 14:37:50 -0700 |
commit | 94950242ab21af1b046518adac53b908311d7354 (patch) | |
tree | d9f550e023a9f64b72d1a382eb2c7c1fa37c54a4 /spec/functional/resource/powershell_script_spec.rb | |
parent | 67e6a0572261f42e0d58d6079fbe2933744e8aaf (diff) | |
download | chef-powershell.tar.gz |
Properly capitalize PowerShell in descriptions and errorspowershell
It's PowerShell not Powershell. Our docs site had already been updated.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/functional/resource/powershell_script_spec.rb')
-rw-r--r-- | spec/functional/resource/powershell_script_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/functional/resource/powershell_script_spec.rb b/spec/functional/resource/powershell_script_spec.rb index cc1bd8fd1c..e4c96976d9 100644 --- a/spec/functional/resource/powershell_script_spec.rb +++ b/spec/functional/resource/powershell_script_spec.rb @@ -42,7 +42,7 @@ describe Chef::Resource::WindowsScript::PowershellScript, :windows_only do let(:valid_powershell_interpreter_flag) { "-Sta" } let!(:resource) do - r = Chef::Resource::WindowsScript::PowershellScript.new("Powershell resource functional test", @run_context) + r = Chef::Resource::WindowsScript::PowershellScript.new("PowerShell resource functional test", @run_context) r.code(successful_executable_script_content) r end @@ -154,7 +154,7 @@ describe Chef::Resource::WindowsScript::PowershellScript, :windows_only do # This somewhat ambiguous case, two failures of different types, # seems to violate the principle of returning the status of the # last line executed -- in this case, we return the status of the - # second to last line. This happens because Powershell gives no + # second to last line. This happens because PowerShell gives no # way for us to determine whether the last operation was a cmdlet # or Windows process. Because the latter gives more specific # errors than 0 or 1, we return that instead, which is acceptable |