summaryrefslogtreecommitdiff
path: root/spec/unit/provider
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-09-07 14:37:50 -0700
committerTim Smith <tsmith@chef.io>2018-09-07 14:37:50 -0700
commit94950242ab21af1b046518adac53b908311d7354 (patch)
treed9f550e023a9f64b72d1a382eb2c7c1fa37c54a4 /spec/unit/provider
parent67e6a0572261f42e0d58d6079fbe2933744e8aaf (diff)
downloadchef-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/unit/provider')
-rw-r--r--spec/unit/provider/dsc_resource_spec.rb4
-rw-r--r--spec/unit/provider/dsc_script_spec.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/provider/dsc_resource_spec.rb b/spec/unit/provider/dsc_resource_spec.rb
index 411dc50cc9..82ee5a40b3 100644
--- a/spec/unit/provider/dsc_resource_spec.rb
+++ b/spec/unit/provider/dsc_resource_spec.rb
@@ -27,7 +27,7 @@ describe Chef::Provider::DscResource do
Chef::Provider::DscResource.new(resource, run_context)
end
- context "when Powershell does not support Invoke-DscResource" do
+ context "when PowerShell does not support Invoke-DscResource" do
let (:node) do
node = Chef::Node.new
node.automatic[:languages][:powershell][:version] = "4.0"
@@ -40,7 +40,7 @@ describe Chef::Provider::DscResource do
end
end
- context "when Powershell supports Invoke-DscResource" do
+ context "when PowerShell supports Invoke-DscResource" do
context "when RefreshMode is not set to Disabled" do
context "and the WMF 5 is a preview release" do
diff --git a/spec/unit/provider/dsc_script_spec.rb b/spec/unit/provider/dsc_script_spec.rb
index 5f091b8813..c880683a0f 100644
--- a/spec/unit/provider/dsc_script_spec.rb
+++ b/spec/unit/provider/dsc_script_spec.rb
@@ -162,7 +162,7 @@ describe Chef::Provider::DscScript do
end
end
- it "raises an exception if Powershell is not present" do
+ it "raises an exception if PowerShell is not present" do
expect do
provider.run_action(:run)
end.to raise_error(Chef::Exceptions::ProviderNotFound)