Include deps class in unit test for mysql

Change-Id: I41ac3b137959c9d165e77c71aee6b0753c053e3f
This commit is contained in:
ZhongShengping 2020-10-09 09:59:55 +08:00
parent 82a5587266
commit 5eb7457488

View File

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