summaryrefslogtreecommitdiff
path: root/spec/unit/provider/powershell_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/provider/powershell_spec.rb')
-rw-r--r--spec/unit/provider/powershell_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/powershell_spec.rb b/spec/unit/provider/powershell_spec.rb
index 33c402836b..60dbcf80b0 100644
--- a/spec/unit/provider/powershell_spec.rb
+++ b/spec/unit/provider/powershell_spec.rb
@@ -32,7 +32,7 @@ describe Chef::Provider::PowershellScript, "action_run" do
end
it "should set the -File flag as the last flag" do
- @provider.flags.split(' ').pop.should == "-File"
+ expect(@provider.flags.split(' ').pop).to eq("-File")
end
end