mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
WIP profile check on inheritance profiles
This commit is contained in:
parent
4b7188418b
commit
26c34c3487
1 changed files with 10 additions and 0 deletions
|
@ -31,6 +31,11 @@ describe 'Inspec::InspecCLI' do
|
|||
out.stdout.must_match /Valid.*true/
|
||||
out.exit_status.must_equal 0
|
||||
end
|
||||
|
||||
it 'archive is successful' do
|
||||
out = inspec('archive ' + path + ' --overwrite')
|
||||
out.exit_status.must_equal 0
|
||||
end
|
||||
end
|
||||
|
||||
describe 'example inheritance profile' do
|
||||
|
@ -47,5 +52,10 @@ describe 'Inspec::InspecCLI' do
|
|||
out.stdout.must_match /Valid.*true/
|
||||
out.exit_status.must_equal 0
|
||||
end
|
||||
|
||||
it 'archive is successful even without --profiles-path' do
|
||||
out = inspec('archive ' + path + ' --overwrite')
|
||||
out.exit_status.must_equal 0
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue