Sha256: b3d6d21ae97e1ba2a75e42de368cbd588a4e3055cf1813df581efdda2836002d

Contents?: true

Size: 249 Bytes

Versions: 35

Compression:

Stored size: 249 Bytes

Contents

require 'spec_helper'

include Serverspec::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

35 entries across 35 versions & 1 rubygems

Version Path
serverspec-0.7.4 spec/debian/kernel_module_spec.rb
serverspec-0.7.3 spec/debian/kernel_module_spec.rb
serverspec-0.7.2 spec/debian/kernel_module_spec.rb
serverspec-0.7.1 spec/debian/kernel_module_spec.rb
serverspec-0.7.0 spec/debian/kernel_module_spec.rb
serverspec-0.6.30 spec/debian/kernel_module_spec.rb
serverspec-0.6.29 spec/debian/kernel_module_spec.rb
serverspec-0.6.28 spec/debian/kernel_module_spec.rb
serverspec-0.6.27 spec/debian/kernel_module_spec.rb
serverspec-0.6.26 spec/debian/kernel_module_spec.rb
serverspec-0.6.25 spec/debian/kernel_module_spec.rb
serverspec-0.6.24 spec/debian/kernel_module_spec.rb
serverspec-0.6.23 spec/debian/kernel_module_spec.rb
serverspec-0.6.22 spec/debian/kernel_module_spec.rb
serverspec-0.6.21 spec/debian/kernel_module_spec.rb