oslo middleware: check puppet resource instead of actual config in spec

Change-Id: Ieb128838a506f4fa54c66509d9b2f6be99cc9876
This commit is contained in:
ZhongShengping 2018-03-21 11:15:33 +08:00
parent e3b9d19cbf
commit 68c7a4d714
1 changed files with 3 additions and 1 deletions

View File

@ -246,7 +246,9 @@ describe 'glance::api' do
default_params.merge({:enable_proxy_headers_parsing => true }) default_params.merge({:enable_proxy_headers_parsing => true })
end end
it { is_expected.to contain_glance_api_config('oslo_middleware/enable_proxy_headers_parsing').with_value(true) } it { is_expected.to contain_oslo__middleware('glance_api_config').with(
:enable_proxy_headers_parsing => true,
)}
end end
describe 'with ssl options' do describe 'with ssl options' do