inspec/test/unit/resource_kernel_module_test.rb
Dominik Richter 523263b4b6 simplify and extend tests
Signed-off-by: Dominik Richter <dominik.richter@gmail.com>
2015-09-22 02:27:04 +02:00

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