summaryrefslogtreecommitdiff
path: root/spec/unit
diff options
context:
space:
mode:
authorBryan McLellan <btm@loftninjas.org>2014-10-13 16:31:40 -0400
committerBryan McLellan <btm@loftninjas.org>2014-10-28 16:44:46 -0400
commitc3dfc8ad3007ebd9628e2a0da87b5019f103ffbb (patch)
tree3a9f12d8ffdc7b152473f96afef1b8e3e1cad464 /spec/unit
parente76978ca17fd05f0ce918764dafceb407958f0be (diff)
downloadchef-c3dfc8ad3007ebd9628e2a0da87b5019f103ffbb.tar.gz
windows_package installer_type should be a symbol
Fixes #1997
Diffstat (limited to 'spec/unit')
-rw-r--r--spec/unit/resource/windows_package_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/resource/windows_package_spec.rb b/spec/unit/resource/windows_package_spec.rb
index 3c45548ece..0034a731b4 100644
--- a/spec/unit/resource/windows_package_spec.rb
+++ b/spec/unit/resource/windows_package_spec.rb
@@ -34,9 +34,9 @@ describe Chef::Resource::WindowsPackage, "initialize", :windows_only do
expect(resource.provider).to eql(Chef::Provider::Package::Windows)
end
- it "supports setting installer_type" do
- resource.installer_type("msi")
- expect(resource.installer_type).to eql("msi")
+ it "supports setting installer_type as a symbol" do
+ resource.installer_type(:msi)
+ expect(resource.installer_type).to eql(:msi)
end
# String, Integer