From dfa8320e5c45baf52c9436165274c3ce3d72c9f3 Mon Sep 17 00:00:00 2001 From: Denis Egorenko Date: Tue, 24 May 2016 20:47:25 +0300 Subject: [PATCH] Adapt cinder tests for a new concat version Change-Id: I7edaf3ee27f3d3ccb0dcd7f1b32b251ae5aa8d5f --- spec/classes/cinder_wsgi_apache_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/classes/cinder_wsgi_apache_spec.rb b/spec/classes/cinder_wsgi_apache_spec.rb index 5f144d1d..4a1276a5 100644 --- a/spec/classes/cinder_wsgi_apache_spec.rb +++ b/spec/classes/cinder_wsgi_apache_spec.rb @@ -41,7 +41,7 @@ describe 'cinder::wsgi::apache' do 'wsgi_script_aliases' => { '/' => "#{platform_params[:wsgi_script_path]}/cinder-api" }, 'require' => 'File[cinder_wsgi]' )} - it { is_expected.to contain_file("#{platform_params[:httpd_ports_file]}") } + it { is_expected.to contain_concat("#{platform_params[:httpd_ports_file]}") } end describe 'when overriding parameters using different ports' do @@ -69,7 +69,7 @@ describe 'cinder::wsgi::apache' do 'require' => 'File[cinder_wsgi]' )} - it { is_expected.to contain_file("#{platform_params[:httpd_ports_file]}") } + it { is_expected.to contain_concat("#{platform_params[:httpd_ports_file]}") } end end