mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
23 lines
596 B
Ruby
23 lines
596 B
Ruby
# encoding: utf-8
|
|
# author: Christoph Hartmann
|
|
# author: Dominik Richter
|
|
|
|
require 'helper'
|
|
require 'vulcano/resource'
|
|
|
|
describe 'Vulcano::Resources::KernelModule' do
|
|
it 'verify kernel_module parsing' do
|
|
resource = load_resource('kernel_module', 'bridge')
|
|
_(resource.loaded?).must_equal true
|
|
end
|
|
|
|
it 'verify kernel_module parsing' do
|
|
resource = load_resource('kernel_module', 'bridges')
|
|
_(resource.loaded?).must_equal false
|
|
end
|
|
|
|
it 'verify kernel_module parsing' do
|
|
resource = load_resource('kernel_module', 'dhcp')
|
|
_(resource.loaded?).must_equal false
|
|
end
|
|
end
|