We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b7047d commit 4790352Copy full SHA for 4790352
spec/defines/sensu_extension_spec.rb
@@ -8,6 +8,7 @@
8
:source => 'puppet:///somewhere/mycommand.rb'
9
} }
10
it { should contain_file('/etc/sensu/extensions/mycommand.rb').with_source('puppet:///somewhere/mycommand.rb')}
11
+ it { should contain_file('/etc/sensu/conf.d/extensions/myextension.json') }
12
it { should contain_sensu_extension('myextension').with(
13
:ensure => 'present',
14
:config => {}
@@ -21,6 +22,7 @@
21
22
23
24
it { should contain_sensu_extension('myextension').with_ensure('absent') }
25
+ it { should contain_file('/etc/sensu/conf.d/extensions/myextension.json').with_ensure('absent') }
26
end
27
28
context 'install path' do
0 commit comments