Add missing spec test in sshd_config for banner option

This commit is contained in:
Garrett Honeycutt 2013-10-17 16:58:16 -04:00
parent ebe04a0fe6
commit 60ed4b8a4f

View File

@ -54,6 +54,7 @@ describe 'ssh' do
it { should contain_file('sshd_config').with_content(/^ChallengeResponseAuthentication no$/) }
it { should contain_file('sshd_config').with_content(/^PrintMotd yes$/) }
it { should contain_file('sshd_config').with_content(/^UseDNS yes$/) }
it { should contain_file('sshd_config').with_content(/^Banner none$/) }
it { should contain_file('sshd_config').with_content(/^XAuthLocation \/usr\/bin\/xauth$/) }
it { should contain_file('sshd_config').with_content(/^Subsystem sftp \/usr\/libexec\/openssh\/sftp-server$/) }