Skip to content

Commit 5262a56

Browse files
committed
Add acceptance test
1 parent bdaaf97 commit 5262a56

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

spec/acceptance/vhost_spec.rb

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -769,10 +769,11 @@ class { 'apache': }
769769
priority => false,
770770
docroot => '/tmp'
771771
}
772-
apache::vhost { 'test.ssl_protool':
773-
docroot => '/tmp',
774-
ssl => true,
775-
ssl_protocol => ['All', '-SSLv2'],
772+
apache::vhost { 'test.ssl_protocol':
773+
docroot => '/tmp',
774+
ssl => true,
775+
ssl_protocol => ['All', '-SSLv2'],
776+
ssl_user_name => 'SSL_CLIENT_S_DN_CN',
776777
}
777778
apache::vhost { 'test.block':
778779
docroot => '/tmp',
@@ -873,9 +874,10 @@ class { 'apache': }
873874
describe file("#{apache_hash['vhost_dir']}/test.without_priority_prefix.conf") do
874875
it { is_expected.to be_file }
875876
end
876-
describe file("#{apache_hash['vhost_dir']}/25-test.ssl_protool.conf") do
877+
describe file("#{apache_hash['vhost_dir']}/25-test.ssl_protocol.conf") do
877878
it { is_expected.to be_file }
878879
it { is_expected.to contain 'SSLProtocol *All -SSLv2' }
880+
it { is_expected.to contain 'SSLUserName *SSL_CLIENT_S_DN_CN' }
879881
end
880882
describe file("#{apache_hash['vhost_dir']}/25-test.block.conf") do
881883
it { is_expected.to be_file }

0 commit comments

Comments
 (0)