Sha256: 2e9d9e01f87bc7adfbf4dff711103c8c90d39a1555811df3bb6cad1eb6bb5cef

Contents?: true

Size: 249 Bytes

Versions: 35

Compression:

Stored size: 249 Bytes

Contents

require 'spec_helper'

include Serverspec::Helper::Gentoo

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.11.5 spec/gentoo/kernel_module_spec.rb
serverspec-0.11.4 spec/gentoo/kernel_module_spec.rb
serverspec-0.11.3 spec/gentoo/kernel_module_spec.rb
serverspec-0.11.2 spec/gentoo/kernel_module_spec.rb
serverspec-0.9.4 spec/gentoo/kernel_module_spec.rb
serverspec-0.9.3 spec/gentoo/kernel_module_spec.rb
serverspec-0.9.2 spec/gentoo/kernel_module_spec.rb
serverspec-0.9.1 spec/gentoo/kernel_module_spec.rb
serverspec-0.9.0 spec/gentoo/kernel_module_spec.rb
serverspec-0.8.1 spec/gentoo/kernel_module_spec.rb
serverspec-0.8.0 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.13 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.12 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.11 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.10 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.9 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.8 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.7 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.6 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.5 spec/gentoo/kernel_module_spec.rb