mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
adaf2bc364
This speeds up parallel unit test runs from a very consistent 2:49 to a very consistent 1:53, or a 33% reduction. Signed-off-by: Ryan Davis <zenspider@chef.io>
9 lines
236 B
Ruby
9 lines
236 B
Ruby
|
|
require 'helper'
|
|
|
|
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
|