commit 8b420132c0f494eeb2c2083d569a0edce8c77b78 Author: ZhongShengping Date: Fri Oct 9 09:59:55 2020 +0800 Include deps class in unit test for mysql Change-Id: Iee0fe64c60495b5195008da28f7d4a1011f0296c diff --git a/spec/classes/mistral_db_mysql_spec.rb b/spec/classes/mistral_db_mysql_spec.rb index ab8d787..877dfe8 100644 --- a/spec/classes/mistral_db_mysql_spec.rb +++ b/spec/classes/mistral_db_mysql_spec.rb @@ -12,6 +12,8 @@ describe 'mistral::db::mysql' do end shared_examples 'mistral::db::mysql' do + it { is_expected.to contain_class('mistral::deps') } + context 'with only required params' do it { should contain_openstacklib__db__mysql('mistral').with( :user => 'mistral',