mirror of
https://github.com/inspec/inspec
synced 2024-11-27 15:10:44 +00:00
16 lines
339 B
Ruby
16 lines
339 B
Ruby
|
# encoding: utf-8
|
||
|
|
||
|
require 'helper'
|
||
|
require 'vulcano/resource'
|
||
|
|
||
|
describe 'Vulcano::Resources::OsEnv' do
|
||
|
describe 'os_env' do
|
||
|
let(:resource) { loadResource('os_env', 'PATH') }
|
||
|
|
||
|
it 'verify ntp config parsing' do
|
||
|
_(resource.split).must_equal %w{/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin}
|
||
|
end
|
||
|
|
||
|
end
|
||
|
end
|