From 79a720927132a695ba8f63f351a2fa6e72df15c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Magnus=20Rakv=C3=A5g?= Date: Mon, 12 Feb 2018 14:59:37 +0100 Subject: fix chefstyle errors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tor Magnus Rakvåg --- spec/unit/provider/package/powershell_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') 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") -- cgit v1.2.1