Sha256: 60d01246063b7b3e6967c7515564209c41401916ceb9a7bf9e39aba1dd07e49a

Contents?: true

Size: 259 Bytes

Versions: 20

Compression:

Stored size: 259 Bytes

Contents

require 'spec_helper'

RSpec.configure do |c|
  c.os = 'Debian'
end

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

20 entries across 20 versions & 1 rubygems

Version Path
serverspec-0.11.1 spec/debian/kernel_module_spec.rb
serverspec-0.11.0 spec/debian/kernel_module_spec.rb
serverspec-0.10.13 spec/debian/kernel_module_spec.rb
serverspec-0.10.12 spec/debian/kernel_module_spec.rb
serverspec-0.10.11 spec/debian/kernel_module_spec.rb
serverspec-0.10.10 spec/debian/kernel_module_spec.rb
serverspec-0.10.9 spec/debian/kernel_module_spec.rb
serverspec-0.10.8 spec/debian/kernel_module_spec.rb
serverspec-0.10.7 spec/debian/kernel_module_spec.rb
serverspec-0.10.6 spec/debian/kernel_module_spec.rb
serverspec-0.10.5 spec/debian/kernel_module_spec.rb
serverspec-0.10.4 spec/debian/kernel_module_spec.rb
serverspec-0.10.3 spec/debian/kernel_module_spec.rb
serverspec-0.10.2 spec/debian/kernel_module_spec.rb
serverspec-0.10.1 spec/debian/kernel_module_spec.rb
serverspec-0.10.0 spec/debian/kernel_module_spec.rb
serverspec-0.9.8 spec/debian/kernel_module_spec.rb
serverspec-0.9.7 spec/debian/kernel_module_spec.rb
serverspec-0.9.6 spec/debian/kernel_module_spec.rb
serverspec-0.9.5 spec/debian/kernel_module_spec.rb