Skip to content

Commit

Permalink
(MAINT) add a small test for no-docroot-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS committed Oct 13, 2015
1 parent f57f7f7 commit b63aac2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/defines/vhost_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,16 @@
it { is_expected.to_not contain_concat__fragment('rspec.example.com-limits') }
it { is_expected.to contain_concat__fragment('rspec.example.com-file_footer') }
end
context 'when not setting nor managing the docroot' do
let :params do
{
'docroot' => false,
'manage_docroot' => false,
}
end
it { is_expected.to compile }
it { is_expected.not_to contain_concat__fragment('rspec.example.com-docroot') }
end
end
describe 'access logs' do
let :facts do
Expand Down

0 comments on commit b63aac2

Please sign in to comment.