Stromweld/timezone_iii

View on GitHub
test/smoke/default/default_test.rb

Summary

Maintainability
A
0 mins
Test Coverage
# encoding: utf-8

# Inspec test for recipe timezone_iii::default

# The Inspec reference, with examples and extensive documentation, can be
# found at http://inspec.io/docs/reference/resources/

unless os.windows?
  # This is an example test, replace with your own test.
  describe user('root'), :skip do
    it { should exist }
  end
end

# This is an example test, replace it with your own test.
describe port(80), :skip do
  it { should_not be_listening }
end

describe command('date +%Z') do
  its('exit_status') { should eq 0 }
  its('stderr') { should eq '' }
  its('stdout') { should eq "+03\n" }
end