From 60ed4b8a4f6a7a89bfe961a714b066130b5e4a88 Mon Sep 17 00:00:00 2001 From: Garrett Honeycutt Date: Thu, 17 Oct 2013 16:58:16 -0400 Subject: [PATCH] Add missing spec test in sshd_config for banner option --- spec/classes/init_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/classes/init_spec.rb b/spec/classes/init_spec.rb index fc5d41d..9ce67ce 100644 --- a/spec/classes/init_spec.rb +++ b/spec/classes/init_spec.rb @@ -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$/) }