add tests to check file fragments are absent
This commit is contained in:
parent
486d03b685
commit
2ccd399a74
1 changed files with 10 additions and 0 deletions
|
@ -78,6 +78,16 @@ describe 'nginx::config' do
|
|||
:group => 'root',
|
||||
:mode => '0644'
|
||||
)}
|
||||
it { should contain_file("/tmp/nginx.d").with(
|
||||
:ensure => 'absent',
|
||||
:purge => true,
|
||||
:recurse => true,
|
||||
)}
|
||||
it { should contain_file("/tmp/nginx.mail.d").with(
|
||||
:ensure => 'absent',
|
||||
:purge => true,
|
||||
:recurse => true,
|
||||
)}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue