File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 16
16
it { is_expected . to contain_class ( 'zendhq::package' ) }
17
17
it { is_expected . to contain_class ( 'zendhq::service' ) }
18
18
it { is_expected . to contain_class ( 'zend_common::license' ) . with_source ( file_uri ) }
19
+ it { is_expected . to contain_class ( 'zend_common::license' ) . that_notifies ( 'Class[zendhq::service]' ) }
20
+ it { is_expected . to contain_class ( 'zend_common::license' ) . that_subscribes_to ( 'Class[zendhq::package]' ) }
19
21
end
20
22
21
23
describe 'installs epel-release on CentOS' do
30
32
settings = { 'zendhq.daemon_uri' : 'tcp://0.0.0.0:10090' }
31
33
let ( :params ) { { license_source : file_uri , settings : settings } }
32
34
33
- it { is_expected . to contain_class ( 'zendhq::config' ) }
35
+ it { is_expected . to contain_class ( 'zendhq::config' ) . that_notifies ( 'Class[zendhq::service]' ) }
36
+ it { is_expected . to contain_class ( 'zendhq::config' ) . that_subscribes_to ( 'Class[zendhq::package]' ) }
34
37
end
35
38
end
36
39
end
You can’t perform that action at this time.
0 commit comments