mirror of
https://github.com/inspec/inspec
synced 2024-11-24 05:33:17 +00:00
523263b4b6
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
21 lines
538 B
Ruby
21 lines
538 B
Ruby
# encoding: utf-8
|
|
|
|
require 'helper'
|
|
require 'vulcano/resource'
|
|
|
|
describe 'Vulcano::Resources::KernelModule' do
|
|
it 'verify kernel_module parsing' do
|
|
resource = loadResource('kernel_module', 'bridge')
|
|
_(resource.loaded?).must_equal true
|
|
end
|
|
|
|
it 'verify kernel_module parsing' do
|
|
resource = loadResource('kernel_module', 'bridges')
|
|
_(resource.loaded?).must_equal false
|
|
end
|
|
|
|
it 'verify kernel_module parsing' do
|
|
resource = loadResource('kernel_module', 'dhcp')
|
|
_(resource.loaded?).must_equal false
|
|
end
|
|
end
|