Skip to content

Commit d6f9d34

Browse files
committed
Enhance test to ensure it tests for classes to be present
1 parent ee65e31 commit d6f9d34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/defines/vhost_proxy_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737

3838
it 'creates a concat fragment' do
3939
expect(subject).to compile.with_all_deps
40+
expect(subject).to contain_class('apache::mod::proxy')
41+
expect(subject).to contain_class('apache::mod::proxy_http')
4042
expect(subject).to contain_concat('15-default-80.conf')
4143
expect(subject).to create_concat__fragment('default-myproxy-proxy')
4244
.with_target('15-default-80.conf')

0 commit comments

Comments
 (0)