Sha256: 0909fe3a3a100ca0303767343593755426229b159bf2f7c01805b87b0b39c7b6

Contents?: true

Size: 259 Bytes

Versions: 20

Compression:

Stored size: 259 Bytes

Contents

require 'spec_helper'

RSpec.configure do |c|
  c.os = 'RedHat'
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/redhat/kernel_module_spec.rb
serverspec-0.11.0 spec/redhat/kernel_module_spec.rb
serverspec-0.10.13 spec/redhat/kernel_module_spec.rb
serverspec-0.10.12 spec/redhat/kernel_module_spec.rb
serverspec-0.10.11 spec/redhat/kernel_module_spec.rb
serverspec-0.10.10 spec/redhat/kernel_module_spec.rb
serverspec-0.10.9 spec/redhat/kernel_module_spec.rb
serverspec-0.10.8 spec/redhat/kernel_module_spec.rb
serverspec-0.10.7 spec/redhat/kernel_module_spec.rb
serverspec-0.10.6 spec/redhat/kernel_module_spec.rb
serverspec-0.10.5 spec/redhat/kernel_module_spec.rb
serverspec-0.10.4 spec/redhat/kernel_module_spec.rb
serverspec-0.10.3 spec/redhat/kernel_module_spec.rb
serverspec-0.10.2 spec/redhat/kernel_module_spec.rb
serverspec-0.10.1 spec/redhat/kernel_module_spec.rb
serverspec-0.10.0 spec/redhat/kernel_module_spec.rb
serverspec-0.9.8 spec/redhat/kernel_module_spec.rb
serverspec-0.9.7 spec/redhat/kernel_module_spec.rb
serverspec-0.9.6 spec/redhat/kernel_module_spec.rb
serverspec-0.9.5 spec/redhat/kernel_module_spec.rb