summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-05-23 17:57:03 -0500
committerTim Smith <tsmith@chef.io>2017-05-23 17:57:03 -0500
commitc3ebc883549141df5f486bcf88123e5a82c5ee14 (patch)
tree53b6f223c7785eedcf4698041be9c8167155a61c
parentcb9ab8a91e45cb1a716f710d44160f043f8defa5 (diff)
downloadchef-c3ebc883549141df5f486bcf88123e5a82c5ee14.tar.gz
Only run the Chocolatey tests if Chocolatey is installed
This is a bit of a workaround for now. We need to get Chocolatey back on the windows jenkins builders so we can get green tests. This gets us green for the 13.1 release though. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/functional/resource/chocolatey_package_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/chocolatey_package_spec.rb b/spec/functional/resource/chocolatey_package_spec.rb
index ce71c06229..c437282493 100644
--- a/spec/functional/resource/chocolatey_package_spec.rb
+++ b/spec/functional/resource/chocolatey_package_spec.rb
@@ -18,7 +18,7 @@
require "spec_helper"
require "chef/mixin/powershell_out"
-describe Chef::Resource::ChocolateyPackage, :windows_only, :win2012r2_only do
+describe Chef::Resource::ChocolateyPackage, :windows_only, :choco_installed, do
include Chef::Mixin::PowershellOut
let(:package_name) { "test-A" }