Sha256: 30cf652420727dfb9395abd2dc17620314321b2fc5d36d48f4f200812c1cff5d

Contents?: true

Size: 609 Bytes

Versions: 5

Compression:

Stored size: 609 Bytes

Contents

require 'spec_helper'

include Specinfra::Helper::Cmd

set :os, :family => 'windows'

describe commands.command_class('hot_fix').create do
  it { should be_an_instance_of(Specinfra::Command::Windows::Base::HotFix) }
end

describe windows_hot_fix('DESCRIPTION-OR-KB-ID') do
  it { should be_installed }
end

describe windows_hot_fix('DESCRIPTION') do
  it { should be_installed.with_version('KB-ID') }
end

describe windows_hot_fix('DESCRIPTION_WITH_KB123456789_INLINED') do
  it { should be_installed }
end

describe windows_hot_fix('DESCRIPTION_WITH_SUFFIX_KB123456789') do
  it { should be_installed }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta13 spec/type/windows/hot_fix_spec.rb
serverspec-2.0.0.beta12 spec/type/windows/hot_fix_spec.rb
serverspec-2.0.0.beta11 spec/type/windows/hot_fix_spec.rb
serverspec-2.0.0.beta10 spec/type/windows/hot_fix_spec.rb
serverspec-2.0.0.beta9 spec/type/windows/hot_fix_spec.rb