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

Change-Id: Ieb128838a506f4fa54c66509d9b2f6be99cc9876
changes/79/554779/1
ZhongShengping 5 years ago
parent e3b9d19cbf
commit 68c7a4d714

@ -246,7 +246,9 @@ describe 'glance::api' do
default_params.merge({:enable_proxy_headers_parsing => true })
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
describe 'with ssl options' do

Loading…
Cancel
Save