Skip to content

Commit 8a1b5b1

Browse files
jcpunkekohl
andauthored
Update spec/classes/manage_spec.rb
Co-authored-by: Ewoud Kohl van Wijngaarden <[email protected]>
1 parent 8e2c5d4 commit 8a1b5b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/classes/manage_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@
3939

4040
it { is_expected.to compile }
4141
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]']) }
42+
it { is_expected.to contain_package('example').with_ensure('installed').that_subscribes_to(['Service[sshd]', 'File[/etc/motd.d]']) }
4343
end
4444
end

0 commit comments

Comments
 (0)