summaryrefslogtreecommitdiff
path: root/spec/functional
diff options
context:
space:
mode:
authorMatt Wrock <matt@mattwrock.com>2015-12-15 13:26:08 -0800
committerMatt Wrock <matt@mattwrock.com>2015-12-15 13:26:08 -0800
commit41bd0ba8e88522555e0dbef4ce8159d8d88d1582 (patch)
treefe55dc558b8a34ef0b83a575acacbc86fb8680be /spec/functional
parent09df8eea8bdbca4b7f1f0db43033d8d473860131 (diff)
downloadchef-41bd0ba8e88522555e0dbef4ce8159d8d88d1582.tar.gz
merge cleanupmwrock/package
Diffstat (limited to 'spec/functional')
-rw-r--r--spec/functional/resource/windows_package_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/windows_package_spec.rb b/spec/functional/resource/windows_package_spec.rb
index 65378653b0..f5fdc9ef3d 100644
--- a/spec/functional/resource/windows_package_spec.rb
+++ b/spec/functional/resource/windows_package_spec.rb
@@ -29,7 +29,7 @@ describe Chef::Resource::WindowsPackage, :windows_only, :volatile do
subject do
new_resource = Chef::Resource::WindowsPackage.new(pkg_name, run_context)
- new_resource.source pkg_path
+ new_resource.source pkg_path if pkg_path
new_resource.version pkg_version
new_resource.installer_type pkg_type
new_resource.options pkg_options