Sha256: b3d654bc074ef2a26575eaf0c00b1f445a4ce4b358f44a127379a5da6ee60f47

Contents?: true

Size: 338 Bytes

Versions: 5

Compression:

Stored size: 338 Bytes

Contents

require 'spec_helper'

set :os, :family => 'linux'

describe commands.command_class('kernel_module').create do
  it { should be_an_instance_of(Specinfra::Command::Linux::Base::KernelModule) }
end

describe kernel_module('lp') do
  it { should be_loaded }
end

describe kernel_module('invalid-module') do
  it { should_not be_loaded }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta13 spec/type/linux/kernel_module_spec.rb
serverspec-2.0.0.beta12 spec/type/linux/kernel_module_spec.rb
serverspec-2.0.0.beta11 spec/type/linux/kernel_module_spec.rb
serverspec-2.0.0.beta10 spec/type/linux/kernel_module_spec.rb
serverspec-2.0.0.beta9 spec/type/linux/kernel_module_spec.rb