inspec/test/unit/resources/os_env_test.rb

14 lines
350 B
Ruby
Raw Normal View History

2015-09-05 18:09:04 +00:00
# encoding: utf-8
2015-10-06 16:55:44 +00:00
# author: Christoph Hartmann
# author: Dominik Richter
2015-09-05 18:09:04 +00:00
require 'helper'
require 'vulcano/resource'
describe 'Vulcano::Resources::OsEnv' do
2015-09-22 16:33:05 +00:00
it 'verify ntp config parsing' do
2015-10-12 11:21:50 +00:00
resource = load_resource('os_env', 'PATH')
2015-09-22 16:33:05 +00:00
_(resource.split).must_equal %w{/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin}
2015-09-05 18:09:04 +00:00
end
end