inspec/test/unit/resource_os_env_test.rb

16 lines
338 B
Ruby
Raw Normal View History

2015-09-05 18:09:04 +00:00
# encoding: utf-8
require 'helper'
require 'vulcano/resource'
describe 'Vulcano::Resources::OsEnv' do
describe 'os_env' do
it 'verify ntp config parsing' do
_(resource.split).must_equal %w{/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin}
end
2015-09-22 16:31:21 +00:00
let(:resource) { load_resource('os_env', 'PATH') }
2015-09-05 18:09:04 +00:00
end
end