From 6018a6959d6996a691bc0e7c56b26b336f51f923 Mon Sep 17 00:00:00 2001 From: Lynn Frank Date: Tue, 19 Mar 2019 12:05:15 -0500 Subject: [PATCH] Fixes indentation of kernal_module example Signed-off-by: Franklin Webber --- lib/resources/kernel_module.rb | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) 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)