spec/debian/file_spec.rb in serverspec-0.6.6 vs spec/debian/file_spec.rb in serverspec-0.6.7

- old
+ new

@@ -2,11 +2,14 @@ include Serverspec::Helper::Debian describe 'Serverspec file matchers of Debian family' do it_behaves_like 'support file be_file matcher', '/etc/ssh/sshd_config' + it_behaves_like 'support file be_a_file matcher', '/etc/ssh/sshd_config' it_behaves_like 'support file be_directory matcher', '/etc/ssh' + it_behaves_like 'support file be_a_directory matcher', '/etc/ssh' it_behaves_like 'support file be_socket matcher', '/var/run/unicorn.sock' + it_behaves_like 'support file be_a_socket matcher', '/var/run/unicorn.sock' it_behaves_like 'support file contain matcher', '/etc/ssh/sshd_config', 'This is the sshd server system-wide configuration file' it_behaves_like 'support file contain from to matcher', 'Gemfile', 'rspec', /^group :test do/, /^end/ it_behaves_like 'support file contain after matcher', 'Gemfile', 'rspec', /^group :test do/ it_behaves_like 'support file contain before matcher', 'Gemfile', 'rspec', /^end/ it_behaves_like 'support file be_mode matcher', '/etc/passwd', 644