We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e2c5d4 commit 8a1b5b1Copy full SHA for 8a1b5b1
spec/classes/manage_spec.rb
@@ -39,6 +39,6 @@
39
40
it { is_expected.to compile }
41
it { is_expected.to contain_file('/etc/motd.d/hello').with_content('I say Hi').with_notify('Service[sshd]') }
42
- it { is_expected.to contain_package('example').with_ensure('installed').with_subscribe(['Service[sshd]', 'File[/etc/motd.d]']) }
+ it { is_expected.to contain_package('example').with_ensure('installed').that_subscribes_to(['Service[sshd]', 'File[/etc/motd.d]']) }
43
end
44
0 commit comments