commit 3319d6cc6eee2346728c23b67195a39f7a3adf0a Author: ZhongShengping Date: Fri Oct 9 09:59:55 2020 +0800 Include deps class in unit test for mysql Change-Id: I080ddc96d406f5f73ea6ed61c1c4cc940ed040e9 diff --git a/spec/classes/sahara_db_mysql_spec.rb b/spec/classes/sahara_db_mysql_spec.rb index 507223a..6d128fa 100644 --- a/spec/classes/sahara_db_mysql_spec.rb +++ b/spec/classes/sahara_db_mysql_spec.rb @@ -20,6 +20,7 @@ describe 'sahara::db::mysql' do end shared_examples_for 'sahara mysql database' do + it { should contain_class('sahara::deps') } context 'when omiting the required parameter password' do before { params.delete(:password) }