spec/redhat/matchers_spec.rb in serverspec-0.2.21 vs spec/redhat/matchers_spec.rb in serverspec-0.2.22
- old
+ new
@@ -11,9 +11,12 @@
it_behaves_like 'support be_mounted matcher', '/'
it_behaves_like 'support be_mounted.with matcher', '/'
it_behaves_like 'support be_mounted.only_with matcher', '/'
+ it_behaves_like 'support be_reachable matcher', '127.0.0.1:11111', '1.1.1.1:ssh'
+ it_behaves_like 'support be_reachable.with matcher', '127.0.0.1:11111', '1.1.1.1:ssh'
+
it_behaves_like 'support be_resolvable matcher', 'localhost'
it_behaves_like 'support be_resolvable.by matcher', 'localhost', 'hosts'
it_behaves_like 'support be_resolvable.by matcher', 'localhost', 'dns'
it_behaves_like 'support be_directory matcher', '/etc/ssh'
it_behaves_like 'support contain matcher', '/etc/ssh/sshd_config', 'This is the sshd server system-wide configuration file'