diff options
author | dheerajd-msys <dheeraj.dubey@msystechnologies.com> | 2020-05-07 14:16:59 +0530 |
---|---|---|
committer | dheerajd-msys <dheeraj.dubey@msystechnologies.com> | 2020-05-07 14:16:59 +0530 |
commit | 4cde899df21bbf880068688f43fc5abd2d1bc69f (patch) | |
tree | 08aa359b2235f49c54becf84febb7aefb77d0a53 /spec | |
parent | ec53e5ff30344216700ae42f72883477661feb91 (diff) | |
download | chef-4cde899df21bbf880068688f43fc5abd2d1bc69f.tar.gz |
Fix install features when install state is removed
Signed-off-by: dheerajd-msys <dheeraj.dubey@msystechnologies.com>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/resource/windows_feature_powershell_spec.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/unit/resource/windows_feature_powershell_spec.rb b/spec/unit/resource/windows_feature_powershell_spec.rb index 4ee5302947..98737fd631 100644 --- a/spec/unit/resource/windows_feature_powershell_spec.rb +++ b/spec/unit/resource/windows_feature_powershell_spec.rb @@ -35,10 +35,6 @@ describe Chef::Resource::WindowsFeaturePowershell do expect(resource.feature_name).to eql(%w{snmp dhcp}) end - it "sets the default action as :install" do - expect(resource.action).to eql([:install]) - end - it "supports :delete, :install, :remove actions" do expect { resource.action :delete }.not_to raise_error expect { resource.action :install }.not_to raise_error |