mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
adaf2bc364
This speeds up parallel unit test runs from a very consistent 2:49 to a very consistent 1:53, or a 33% reduction. Signed-off-by: Ryan Davis <zenspider@chef.io>
11 lines
344 B
Ruby
11 lines
344 B
Ruby
|
|
require 'helper'
|
|
|
|
describe 'Inspec::Resources::AuditDaemonConf' do
|
|
it 'check audit daemon config parsing' do
|
|
resource = MockLoader.new(:windows).load_resource('auditd_conf')
|
|
_(resource.space_left_action).must_equal 'SYSLOG'
|
|
_(resource.action_mail_acct).must_equal 'root'
|
|
_(resource.tcp_listen_queue).must_equal '5'
|
|
end
|
|
end
|