Include deps class in unit test for mysql

Change-Id: I8d1035ceb9b1710a29ac2241bac6726033478b90
This commit is contained in:
ZhongShengping 2020-10-09 09:59:55 +08:00
parent abd842fb9e
commit aa154e63cc

View File

@ -16,6 +16,8 @@ describe 'aodh::db::mysql' do
end end
shared_examples_for 'aodh::db::mysql' do shared_examples_for 'aodh::db::mysql' do
it { is_expected.to contain_class('aodh::deps') }
context 'with only required params' do context 'with only required params' do
it { is_expected.to contain_openstacklib__db__mysql('aodh').with( it { is_expected.to contain_openstacklib__db__mysql('aodh').with(
'user' => 'aodh', 'user' => 'aodh',