Sha256: f6364ab68d600988fc2d5e3b70ccd7d59a5b547449de58f961bf96c49889dc2a
Contents?: true
Size: 713 Bytes
Versions: 24
Compression:
Stored size: 713 Bytes
Contents
# encoding: utf-8 # author: Thomas Cate require 'helper' require 'inspec/resource' describe 'Inspec::Resources::GrubConfig' do it 'verify kernel include' do resource = MockLoader.new(:centos6).load_resource('grub_conf') _(resource.kernel).must_be_kind_of Array end it 'verify initrd include' do resource = MockLoader.new(:centos6).load_resource('grub_conf') _(resource.initrd).must_be_kind_of String end it 'verify default' do resource = MockLoader.new(:centos6).load_resource('grub_conf') _(resource.default).must_equal '0' end it 'verify timeout' do resource = MockLoader.new(:centos6).load_resource('grub_conf') _(resource.timeout).must_equal '5' end end
Version data entries
24 entries across 24 versions & 1 rubygems