remove whitespace

This commit is contained in:
Christoph Hartmann 2016-09-26 01:29:18 +02:00 committed by GitHub
parent cdf6f647ac
commit 3bc7fa3a39

View file

@ -19,13 +19,10 @@ module Inspec::Resources
desc 'Use the parse_config InSpec audit resource to test arbitrary configuration files.' desc 'Use the parse_config InSpec audit resource to test arbitrary configuration files.'
example " example "
output = command('some-command').stdout output = command('some-command').stdout
describe parse_config(output, { data_config_option: value } ) do describe parse_config(output, { data_config_option: value } ) do
its('setting') { should eq 1 } its('setting') { should eq 1 }
end end
output2 = command('curl http://127.0.0.1/php_status').stdout output2 = command('curl http://127.0.0.1/php_status').stdout
# php status is in format 'key : value', and we do not allow for multiple values # php status is in format 'key : value', and we do not allow for multiple values
options2 = { options2 = {
@ -43,7 +40,6 @@ module Inspec::Resources
describe parse_config(output2, options2 ).params['listen queue'].to_i do describe parse_config(output2, options2 ).params['listen queue'].to_i do
it { should be < 100 } it { should be < 100 }
end end
" "
attr_reader :content attr_reader :content