Sha256: 19884aee902087fbd8516e20aba60adcd263a2596f4dada476abdf70130e9245

Contents?: true

Size: 273 Bytes

Versions: 19

Compression:

Stored size: 273 Bytes

Contents

shared_examples_for 'support kernel_module be_loaded matcher' do |name|
  describe 'be_loaded' do
    describe kernel_module(name) do
      it { should be_loaded }
    end

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
serverspec-0.6.20 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.19 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.18 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.17 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.16 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.15 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.13 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.12 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.11 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.10 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.9 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.8 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.7 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.6 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.5 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.4 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.3 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.2 spec/support/shared_kernel_module_examples.rb
serverspec-0.6.1 spec/support/shared_kernel_module_examples.rb