Sha256: 77514b664cd25786af5de2a4c0cf030ca2ea545a76f704967661df93f1bbffd4

Contents?: true

Size: 259 Bytes

Versions: 20

Compression:

Stored size: 259 Bytes

Contents

require 'spec_helper'

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