Update tests accroding to changed templates

Specs no longer require `ipv6only=on` in listen option when using user
supplied value since it is no longer hardcoded in the template.
This commit is contained in:
Tristan Helmich 2014-02-03 13:11:47 +01:00
parent 15a2695442
commit 4fb4129aa4
2 changed files with 4 additions and 4 deletions

View file

@ -85,7 +85,7 @@ describe 'nginx::resource::mailhost' do
:title => 'should set the IPv6 listen options',
:attr => 'ipv6_listen_options',
:value => 'spdy',
:match => ' listen [::]:80 spdy ipv6only=on;',
:match => ' listen [::]:80 spdy;',
},
{
:title => 'should set servername(s)',
@ -241,7 +241,7 @@ describe 'nginx::resource::mailhost' do
:title => 'should set the IPv6 listen options',
:attr => 'ipv6_listen_options',
:value => 'spdy',
:match => ' listen [::]:80 spdy ipv6only=on;',
:match => ' listen [::]:80 spdy;',
},
{
:title => 'should set servername(s)',

View file

@ -95,7 +95,7 @@ describe 'nginx::resource::vhost' do
:title => 'should set the IPv6 listen options',
:attr => 'ipv6_listen_options',
:value => 'spdy',
:match => ' listen [::]:80 spdy ipv6only=on;',
:match => ' listen [::]:80 spdy;',
},
{
:title => 'should set servername(s)',
@ -321,7 +321,7 @@ describe 'nginx::resource::vhost' do
:title => 'should set the IPv6 listen options',
:attr => 'ipv6_listen_options',
:value => 'spdy default',
:match => ' listen [::]:443 ssl spdy default ipv6only=on;',
:match => ' listen [::]:443 ssl spdy default;',
},
{
:title => 'should set servername(s)',