spec/gentoo/matchers_spec.rb in serverspec-0.2.19 vs spec/gentoo/matchers_spec.rb in serverspec-0.2.20
- old
+ new
@@ -5,9 +5,17 @@
it_behaves_like 'support be_installed matcher', 'openssh'
it_behaves_like 'support be_running matcher', 'sshd'
it_behaves_like 'support be_running.under("supervisor") matcher', 'growthforecast'
it_behaves_like 'support be_listening matcher', 22
it_behaves_like 'support be_file matcher', '/etc/ssh/sshd_config'
+
+ 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_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'
it_behaves_like 'support contain.from.to matcher', 'Gemfile', 'rspec', /^group :test do/, /^end/
it_behaves_like 'support contain.after matcher', 'Gemfile', 'rspec', /^group :test do/
it_behaves_like 'support contain.before matcher', 'Gemfile', 'rspec', /^end/