commit 0e638593797c635f4a2159d2f71943f5a2c15551 Author: ZhongShengping Date: Fri Oct 9 09:59:55 2020 +0800 Include deps class in unit test for mysql Change-Id: I16aa8e1d51c9c2c49d7e180a8d809460a7261d5f diff --git a/spec/classes/heat_db_mysql_spec.rb b/spec/classes/heat_db_mysql_spec.rb index a54b7d3..043ef0e 100644 --- a/spec/classes/heat_db_mysql_spec.rb +++ b/spec/classes/heat_db_mysql_spec.rb @@ -13,6 +13,7 @@ describe 'heat::db::mysql' do end shared_examples_for 'heat mysql database' do + it { is_expected.to contain_class('heat::deps') } context 'when omiting the required parameter password' do before { params.delete(:password) }