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.12.0 spec/type/windows/feature_spec.rb
serverspec-2.11.0 spec/type/windows/feature_spec.rb
serverspec-2.10.2 spec/type/windows/feature_spec.rb
serverspec-2.10.1 spec/type/windows/feature_spec.rb
serverspec-2.10.0 spec/type/windows/feature_spec.rb
serverspec-2.9.1 spec/type/windows/feature_spec.rb
serverspec-2.9.0 spec/type/windows/feature_spec.rb
serverspec-2.8.2 spec/type/windows/feature_spec.rb
serverspec-2.8.1 spec/type/windows/feature_spec.rb
serverspec-2.8.0 spec/type/windows/feature_spec.rb
serverspec-2.7.2 spec/type/windows/feature_spec.rb
serverspec-2.7.1 spec/type/windows/feature_spec.rb
serverspec-2.7.0 spec/type/windows/feature_spec.rb
serverspec-2.6.0 spec/type/windows/feature_spec.rb
serverspec-2.5.0 spec/type/windows/feature_spec.rb
serverspec-2.4.0 spec/type/windows/feature_spec.rb
serverspec-2.3.1 spec/type/windows/feature_spec.rb
serverspec-2.3.0 spec/type/windows/feature_spec.rb
serverspec-2.2.0 spec/type/windows/feature_spec.rb
serverspec-clc-2.1.0 spec/type/windows/feature_spec.rb