From 4fb4129aa476264b8fc0e00e96b22c39e4a77e79 Mon Sep 17 00:00:00 2001 From: Tristan Helmich Date: Mon, 3 Feb 2014 13:11:47 +0100 Subject: [PATCH] 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. --- spec/defines/resource_mailhost_spec.rb | 4 ++-- spec/defines/resource_vhost_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/defines/resource_mailhost_spec.rb b/spec/defines/resource_mailhost_spec.rb index 9f5de6f..e59adfd 100644 --- a/spec/defines/resource_mailhost_spec.rb +++ b/spec/defines/resource_mailhost_spec.rb @@ -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)', diff --git a/spec/defines/resource_vhost_spec.rb b/spec/defines/resource_vhost_spec.rb index 573953d..fe1d564 100644 --- a/spec/defines/resource_vhost_spec.rb +++ b/spec/defines/resource_vhost_spec.rb @@ -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)',