Sha256: 01c40718cce27c71263298d504d07dbb5bb1fa9a398d945ceeb4bf1e3f05ebe2

Contents?: true

Size: 248 Bytes

Versions: 42

Compression:

Stored size: 248 Bytes

Contents

require 'spec_helper'

include SpecInfra::Helper::Debian

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

42 entries across 42 versions & 1 rubygems

Version Path
serverspec-1.0.0 spec/debian/kernel_module_spec.rb
serverspec-0.16.0 spec/debian/kernel_module_spec.rb
serverspec-0.15.5 spec/debian/kernel_module_spec.rb
serverspec-0.15.4 spec/debian/kernel_module_spec.rb
serverspec-0.15.3 spec/debian/kernel_module_spec.rb
serverspec-0.15.2 spec/debian/kernel_module_spec.rb
serverspec-0.15.1 spec/debian/kernel_module_spec.rb
serverspec-0.15.0 spec/debian/kernel_module_spec.rb
serverspec-0.14.4 spec/debian/kernel_module_spec.rb
serverspec-0.14.3 spec/debian/kernel_module_spec.rb
serverspec-0.14.2 spec/debian/kernel_module_spec.rb
serverspec-0.14.1 spec/debian/kernel_module_spec.rb
serverspec-0.14.0 spec/debian/kernel_module_spec.rb
serverspec-0.13.7 spec/debian/kernel_module_spec.rb
serverspec-0.13.6 spec/debian/kernel_module_spec.rb
serverspec-0.13.5 spec/debian/kernel_module_spec.rb
serverspec-0.13.4 spec/debian/kernel_module_spec.rb
serverspec-0.13.3 spec/debian/kernel_module_spec.rb
serverspec-0.13.2 spec/debian/kernel_module_spec.rb
serverspec-0.13.1 spec/debian/kernel_module_spec.rb