spec/redhat/matchers_spec.rb in serverspec-0.0.9 vs spec/redhat/matchers_spec.rb in serverspec-0.0.10
- old
+ new
@@ -18,6 +18,9 @@
it_behaves_like 'support be_mode matcher', '/etc/passwd', 644
it_behaves_like 'support be_owned_by matcher', '/etc/passwd', 'root'
it_behaves_like 'support be_grouped_into matcher', '/etc/passwd', 'root'
+
+ it_behaves_like 'support have_cron_entry matcher', 'cron', '* * * * * /usr/bin/foo'
+ it_behaves_like 'support have_cron_entry.with_user matcher', 'cron', '* * * * * /usr/bin/foo', 'root'
end