mirror of
https://github.com/inspec/inspec
synced 2024-11-23 13:13:22 +00:00
remove whitespace
This commit is contained in:
parent
cdf6f647ac
commit
3bc7fa3a39
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue