diff options
author | Bryan McLellan <btm@loftninjas.org> | 2014-10-13 16:31:40 -0400 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2014-10-30 12:17:18 -0700 |
commit | 97775f29456e8de757324a25ab668a1f457a2e44 (patch) | |
tree | 9a8c6456e5c311d89e41bc1d56cd0ce1c0de3a76 /spec | |
parent | 055edb751cb4ba1e4aaec49a2b419d0b30e3d9a7 (diff) | |
download | chef-97775f29456e8de757324a25ab668a1f457a2e44.tar.gz |
windows_package installer_type should be a symbol
Fixes #1997
Conflicts:
spec/unit/resource/windows_package_spec.rb
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/resource/windows_package_spec.rb | 6 |
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 fed029f9fe..1e02f2449b 100644 --- a/spec/unit/resource/windows_package_spec.rb +++ b/spec/unit/resource/windows_package_spec.rb @@ -41,9 +41,9 @@ describe Chef::Resource::WindowsPackage, "initialize" do expect(resource.resource_name).to eql(:windows_package) 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 |