Sha256: 5c0777a20ea6c69ba40519481470241bf2b03f56c372e36ca700e4e2d192f95c

Contents?: true

Size: 248 Bytes

Versions: 4

Compression:

Stored size: 248 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::Plamo

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

4 entries across 4 versions & 1 rubygems

Version Path
serverspec-0.11.5 spec/plamo/kernel_module_spec.rb
serverspec-0.11.4 spec/plamo/kernel_module_spec.rb
serverspec-0.11.3 spec/plamo/kernel_module_spec.rb
serverspec-0.11.2 spec/plamo/kernel_module_spec.rb