Sha256: 60590b3f9963ac2dc1cc1e49788c1c37056aa50db75b934ff1f662cd2907a300

Contents?: true

Size: 348 Bytes

Versions: 3

Compression:

Stored size: 348 Bytes

Contents

# 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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
inspec-0.9.2 test/unit/resources/os_env_test.rb
inspec-0.9.1 test/unit/resources/os_env_test.rb
inspec-0.9.0 test/unit/resources/os_env_test.rb