File: feature_spec.rb

package info (click to toggle)
ruby-serverspec 2.43.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 984 kB
  • sloc: ruby: 4,847; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 331 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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