inspec/test/unit/resources/os_env_test.rb
2015-10-26 12:34:15 +01:00

13 lines
348 B
Ruby

# encoding: utf-8
# author: Christoph Hartmann
# author: Dominik Richter
require 'helper'
require 'inspec/resource'
describe 'Inspec::Resources::OsEnv' do
it 'verify ntp config parsing' do
resource = load_resource('os_env', 'PATH')
_(resource.split).must_equal %w{/usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin}
end
end