commit 4ad47a8fced3244bfcaff14daa6546faf188e1b7 Author: ZhongShengping Date: Sat Oct 10 09:31:12 2020 +0800 Include deps class in unit test for postgresql Change-Id: I348b04381d4c1d61c2d425011c6ec3fb44c6513d diff --git a/spec/classes/watcher_db_postgresql_spec.rb b/spec/classes/watcher_db_postgresql_spec.rb index a19f468..2c2c509 100644 --- a/spec/classes/watcher_db_postgresql_spec.rb +++ b/spec/classes/watcher_db_postgresql_spec.rb @@ -16,6 +16,8 @@ describe 'watcher::db::postgresql' do required_params end + it { is_expected.to contain_class('watcher::deps') } + it { is_expected.to contain_openstacklib__db__postgresql('watcher').with( :user => 'watcher', :password => 'watcherpass',