mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
12 lines
289 B
Ruby
12 lines
289 B
Ruby
# encoding: utf-8
|
|
|
|
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
|