File: default.rb

package info (click to toggle)
serverspec-runner 1.3.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 220 kB
  • sloc: ruby: 463; makefile: 10
file content (18 lines) | stat: -rw-r--r-- 336 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'spec_helper_win'

describe command('hostname') do
  its(:stdout) { should match /HOSTNAME/ }
end

describe file('c:/windows') do
  it { should be_directory }
end

describe command('tzutil /g') do
  its(:stdout) { should match /Tokyo Standard Time/ }
end

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