diff --git a/lib/resources/kernel_module.rb b/lib/resources/kernel_module.rb index 9ad52d5c9..e1d2b6271 100644 --- a/lib/resources/kernel_module.rb +++ b/lib/resources/kernel_module.rb @@ -13,25 +13,24 @@ module Inspec::Resources method.' example <<~EXAMPLE + describe kernel_module('video') do + it { should be_loaded } + it { should_not be_disabled } + it { should_not be_blacklisted } + end - describe kernel_module('video') do - it { should be_loaded } - it { should_not be_disabled } - it { should_not be_blacklisted } - end + describe kernel_module('sstfb') do + it { should_not be_loaded } + it { should be_disabled } + end - describe kernel_module('sstfb') do - it { should_not be_loaded } - it { should be_disabled } - end + describe kernel_module('floppy') do + it { should be_blacklisted } + end - describe kernel_module('floppy') do - it { should be_blacklisted } - end - - describe kernel_module('dhcp') do - it { should_not be_loaded } - end + describe kernel_module('dhcp') do + it { should_not be_loaded } + end EXAMPLE def initialize(modulename = nil)