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

Change-Id: I7bde6025069077e5481e11d668b60733736c2112
This commit is contained in:
ZhongShengping 2018-03-21 11:12:39 +08:00
parent a51b1e0d66
commit 68877530ad
1 changed files with 3 additions and 1 deletions

View File

@ -222,7 +222,9 @@ describe 'barbican::api' do
default_params.merge!({:enable_proxy_headers_parsing => true })
end
it { is_expected.to contain_barbican_config('oslo_middleware/enable_proxy_headers_parsing').with_value(true) }
it { is_expected.to contain_oslo__middleware('barbican_config').with(
:enable_proxy_headers_parsing => true,
)}
end
describe 'with SSL socket options set' do