Sha256: bfaeb042bd7df334f0cdf62c0ce4b3445bc86a59ad105322376ae5a1ad0bd72c

Contents?: true

Size: 249 Bytes

Versions: 37

Compression:

Stored size: 249 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::RedHat

describe kernel_module('lp') do
  it { should be_loaded }
  its(:command) { should eq "lsmod | grep ^lp" }
end

describe kernel_module('invalid-module') do
  it { should_not be_loaded }
end

Version data entries

37 entries across 35 versions & 1 rubygems

Version Path
serverspec-0.11.5 spec/redhat/kernel_module_spec.rb
serverspec-0.11.4 spec/redhat/kernel_module_spec.rb
serverspec-0.11.3 spec/redhat/kernel_module_spec.rb
serverspec-0.11.2 spec/redhat/kernel_module_spec.rb
serverspec-0.9.4 spec/redhat/kernel_module_spec.rb
serverspec-0.9.3 spec/redhat/kernel_module_spec.rb
serverspec-0.9.3 spec/aix/kernel_module_spec.rb
serverspec-0.9.2 spec/redhat/kernel_module_spec.rb
serverspec-0.9.2 spec/aix/kernel_module_spec.rb
serverspec-0.9.1 spec/redhat/kernel_module_spec.rb
serverspec-0.9.0 spec/redhat/kernel_module_spec.rb
serverspec-0.8.1 spec/redhat/kernel_module_spec.rb
serverspec-0.8.0 spec/redhat/kernel_module_spec.rb
serverspec-0.7.13 spec/redhat/kernel_module_spec.rb
serverspec-0.7.12 spec/redhat/kernel_module_spec.rb
serverspec-0.7.11 spec/redhat/kernel_module_spec.rb
serverspec-0.7.10 spec/redhat/kernel_module_spec.rb
serverspec-0.7.9 spec/redhat/kernel_module_spec.rb
serverspec-0.7.8 spec/redhat/kernel_module_spec.rb
serverspec-0.7.7 spec/redhat/kernel_module_spec.rb