spec/redhat/matchers_spec.rb in serverspec-0.1.4 vs spec/redhat/matchers_spec.rb in serverspec-0.1.5

- old
+ new

@@ -6,9 +6,12 @@ it_behaves_like 'support be_running matcher', 'sshd' it_behaves_like 'support be_listening matcher', 22 it_behaves_like 'support be_file matcher', '/etc/ssh/sshd_config' 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/ it_behaves_like 'support be_user matcher', 'root' it_behaves_like 'support be_group matcher', 'wheel' # Test for case of not registered in the service, but running as process. it_behaves_like 'support be_running matcher', 'udevd'