diff options
author | Tim Smith <tsmith@chef.io> | 2019-07-19 15:40:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-19 15:40:45 -0700 |
commit | ee70f2e5794cec20876ccab63aa40b4df698c2b2 (patch) | |
tree | 4bf8105409146d56745f18c0d3215ea8306ae279 /spec | |
parent | fda15afa31772f594fadd995be05fc002821acf8 (diff) | |
parent | f617b243c25d9e68ddfc5ca66e60ae2574f772b4 (diff) | |
download | chef-ee70f2e5794cec20876ccab63aa40b4df698c2b2.tar.gz |
Merge pull request #8747 from tomdoherty/lkm_disable
Implement disable for disabling kernel_modules
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/resource/kernel_module_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/resource/kernel_module_spec.rb b/spec/unit/resource/kernel_module_spec.rb index 6cbc047e79..9242959bd6 100644 --- a/spec/unit/resource/kernel_module_spec.rb +++ b/spec/unit/resource/kernel_module_spec.rb @@ -36,6 +36,7 @@ describe Chef::Resource::KernelModule do expect { resource.action :install }.not_to raise_error expect { resource.action :uninstall }.not_to raise_error expect { resource.action :blacklist }.not_to raise_error + expect { resource.action :disable }.not_to raise_error expect { resource.action :load }.not_to raise_error expect { resource.action :unload }.not_to raise_error expect { resource.action :delete }.to raise_error(ArgumentError) |