Sha256: 1bde3e6c0c63130455fcc06841a61cfa9ec10521b9d598f7a7d2e423e9dbf74a

Contents?: true

Size: 331 Bytes

Versions: 85

Compression:

Stored size: 331 Bytes

Contents

require 'spec_helper'

set :backend, :cmd

set :os, :family => 'windows'

describe windows_feature('Minesweeper') do
  it{ should be_installed }
end

describe windows_feature('IIS-Webserver') do
  it{ should be_installed.by(:dism) }
end

describe windows_feature('Web-Webserver') do
  it{ should be_installed.by(:powershell) }
end

Version data entries

85 entries across 85 versions & 4 rubygems

Version Path
serverspec-2.42.3 spec/type/windows/feature_spec.rb
serverspec-2.42.2 spec/type/windows/feature_spec.rb
serverspec-2.42.1 spec/type/windows/feature_spec.rb
serverspec-cem-acpt-2.42.0 spec/type/windows/feature_spec.rb
serverspec-2.42.0 spec/type/windows/feature_spec.rb
serverspec-2.41.8 spec/type/windows/feature_spec.rb
serverspec-2.41.7 spec/type/windows/feature_spec.rb
serverspec-2.41.6 spec/type/windows/feature_spec.rb
serverspec-2.41.5 spec/type/windows/feature_spec.rb
serverspec-2.41.4 spec/type/windows/feature_spec.rb
serverspec-ruby19-2.24.3 spec/type/windows/feature_spec.rb
serverspec-2.41.3 spec/type/windows/feature_spec.rb
serverspec-2.41.2 spec/type/windows/feature_spec.rb
serverspec-2.41.1 spec/type/windows/feature_spec.rb
serverspec-2.41.0 spec/type/windows/feature_spec.rb
serverspec-2.40.0 spec/type/windows/feature_spec.rb
serverspec-2.39.2 spec/type/windows/feature_spec.rb
serverspec-2.39.1 spec/type/windows/feature_spec.rb
serverspec-2.39.0 spec/type/windows/feature_spec.rb
serverspec-2.38.1 spec/type/windows/feature_spec.rb