spec/redhat/matchers_spec.rb in serverspec-0.0.19 vs spec/redhat/matchers_spec.rb in serverspec-0.1.0
- old
+ new
@@ -22,8 +22,13 @@
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'
it_behaves_like 'support be_linked_to matcher', '/etc/pam.d/system-auth', '/etc/pam.d/system-auth-ac'
+ it_behaves_like 'support be_installed_by_gem matcher', 'jekyll'
+ it_behaves_like 'support be_installed_by_gem.with_version matcher', 'jekyll', '1.0.0'
+
it_behaves_like 'support belong_to_group matcher', 'root', 'root'
+ it_behaves_like 'support have_iptables_rule matcher', '-P INPUT ACCEPT'
+ it_behaves_like 'support have_iptables_rule.with_table.with_chain matcher', '-P INPUT ACCEPT', 'mangle', 'INPUT'
end