commit f424c8bad8cedd5a915cd1c0dfb72dc9ab1532a4 Author: ZhongShengping Date: Fri Oct 9 09:59:55 2020 +0800 Include deps class in unit test for mysql Change-Id: Ie6a019458261ce96ad91a6c923bc5c5a9ccfaebe diff --git a/spec/classes/watcher_db_mysql_spec.rb b/spec/classes/watcher_db_mysql_spec.rb index 14bd007..c005080 100644 --- a/spec/classes/watcher_db_mysql_spec.rb +++ b/spec/classes/watcher_db_mysql_spec.rb @@ -16,6 +16,8 @@ describe 'watcher::db::mysql' do required_params end + it { should contain_class('watcher::deps') } + it { is_expected.to contain_openstacklib__db__mysql('watcher').with( :user => 'watcher', :password => 'watcherpass',