Sha256: eb397b8adfb40407d8310f7820abbf7197e11e35c36d8e53e4357d70f363d9b3

Contents?: true

Size: 594 Bytes

Versions: 57

Compression:

Stored size: 594 Bytes

Contents

# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter

require 'helper'
require 'inspec/resource'

describe 'Inspec::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

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
inspec-0.30.0 test/unit/resources/kernel_module_test.rb
inspec-0.29.0 test/unit/resources/kernel_module_test.rb
inspec-0.28.1 test/unit/resources/kernel_module_test.rb
inspec-0.28.0 test/unit/resources/kernel_module_test.rb
inspec-0.27.1 test/unit/resources/kernel_module_test.rb
inspec-0.27.0 test/unit/resources/kernel_module_test.rb
inspec-0.26.0 test/unit/resources/kernel_module_test.rb
inspec-0.25.0 test/unit/resources/kernel_module_test.rb
inspec-0.24.0 test/unit/resources/kernel_module_test.rb
inspec-0.23 test/unit/resources/kernel_module_test.rb
inspec-0.22.1 test/unit/resources/kernel_module_test.rb
inspec-0.22.0 test/unit/resources/kernel_module_test.rb
inspec-0.21.6 test/unit/resources/kernel_module_test.rb
inspec-0.21.5 test/unit/resources/kernel_module_test.rb
inspec-0.21.4 test/unit/resources/kernel_module_test.rb
inspec-0.21.3 test/unit/resources/kernel_module_test.rb
inspec-0.21.2 test/unit/resources/kernel_module_test.rb
inspec-0.21.1 test/unit/resources/kernel_module_test.rb
inspec-0.21.0 test/unit/resources/kernel_module_test.rb
inspec-0.20.1 test/unit/resources/kernel_module_test.rb