summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorTor Magnus Rakvåg <tm@intility.no>2018-02-12 14:59:37 +0100
committerTor Magnus Rakvåg <tm@intility.no>2018-02-12 14:59:37 +0100
commit79a720927132a695ba8f63f351a2fa6e72df15c0 (patch)
treec3846fec53a33f245053bf946a716c0d6e15cefe /spec
parent67fd2daf3151fd3a6eaee90a11aa5792e01e8159 (diff)
downloadchef-79a720927132a695ba8f63f351a2fa6e72df15c0.tar.gz
fix chefstyle errors
Signed-off-by: Tor Magnus Rakvåg <tm@intility.no>
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/provider/package/powershell_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/provider/package/powershell_spec.rb b/spec/unit/provider/package/powershell_spec.rb
index c9fb5b69ca..991de2b26e 100644
--- a/spec/unit/provider/package/powershell_spec.rb
+++ b/spec/unit/provider/package/powershell_spec.rb
@@ -109,7 +109,7 @@ describe Chef::Provider::Package::Powershell do
end
it "should use the candidate_version from the correct source" do
- allow(provider).to receive(:powershell_out).with("( Find-Package 'xNetworking' -Force -ForceBootstrap -Source MyGallery ).Version", {:timeout => new_resource.timeout }).and_return(package_xnetworking_available)
+ allow(provider).to receive(:powershell_out).with("( Find-Package 'xNetworking' -Force -ForceBootstrap -Source MyGallery ).Version", { :timeout => new_resource.timeout }).and_return(package_xnetworking_available)
new_resource.package_name(["xNetworking"])
new_resource.version(nil)
new_resource.source("MyGallery")