mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
14 lines
344 B
Ruby
14 lines
344 B
Ruby
# encoding: utf-8
|
|
# author: Christoph Hartmann
|
|
# author: Dominik Richter
|
|
|
|
require 'helper'
|
|
require 'vulcano/resource'
|
|
|
|
describe 'Vulcano::Resources::KernelParameter' do
|
|
let(:resource) { load_resource('kernel_parameter', 'net.ipv4.conf.all.forwarding') }
|
|
|
|
it 'verify kernel_parameter parsing' do
|
|
_(resource.value).must_equal 1
|
|
end
|
|
end
|