mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
6c19e81a06
Signed-off-by: Miah Johnson <miah@chia-pet.org>
10 lines
262 B
Ruby
10 lines
262 B
Ruby
|
|
require 'helper'
|
|
require 'inspec/resource'
|
|
|
|
describe 'Inspec::Resources::KernelParameter' do
|
|
it 'verify kernel_parameter parsing' do
|
|
resource = load_resource('kernel_parameter', 'net.ipv4.conf.all.forwarding')
|
|
_(resource.value).must_equal 1
|
|
end
|
|
end
|