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.7.4 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.3 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.2 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.1 spec/gentoo/kernel_module_spec.rb
serverspec-0.7.0 spec/gentoo/kernel_module_spec.rb
serverspec-0.6.30 spec/gentoo/kernel_module_spec.rb
serverspec-0.6.29 spec/gentoo/kernel_module_spec.rb
serverspec-0.6.28 spec/gentoo/kernel_module_spec.rb
serverspec-0.6.27 spec/gentoo/kernel_module_spec.rb
serverspec-0.6.26 spec/gentoo/kernel_module_spec.rb
serverspec-0.6.25 spec/gentoo/kernel_module_spec.rb
serverspec-0.6.24 spec/gentoo/kernel_module_spec.rb
serverspec-0.6.23 spec/gentoo/kernel_module_spec.rb
serverspec-0.6.22 spec/gentoo/kernel_module_spec.rb
serverspec-0.6.21 spec/gentoo/kernel_module_spec.rb