diff options
Diffstat (limited to 'spec/unit/resource/powershell_package_spec.rb')
-rw-r--r-- | spec/unit/resource/powershell_package_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/unit/resource/powershell_package_spec.rb b/spec/unit/resource/powershell_package_spec.rb index a448d58d5a..9128654e80 100644 --- a/spec/unit/resource/powershell_package_spec.rb +++ b/spec/unit/resource/powershell_package_spec.rb @@ -72,4 +72,13 @@ describe Chef::Resource::PowershellPackage do resource.source("MyGallery") expect(resource.source).to eql("MyGallery") end + + it "the skip_publisher_check default is false" do + expect(resource.skip_publisher_check).to eql(false) + end + + it "the skip_publisher_check setter accepts booleans" do + resource.skip_publisher_check(true) + expect(resource.skip_publisher_check).to eql(true) + end end |