commit a0f69b8b5b0b372e1370d344067cbe3ab60f70e4 Author: ZhongShengping Date: Sat Oct 10 09:31:12 2020 +0800 Include deps class in unit test for postgresql Change-Id: I84875232d7d58df7b11897e352fa2d75af0c7a4e diff --git a/spec/classes/sahara_db_postgresql_spec.rb b/spec/classes/sahara_db_postgresql_spec.rb index 89a33dc..22305b9 100644 --- a/spec/classes/sahara_db_postgresql_spec.rb +++ b/spec/classes/sahara_db_postgresql_spec.rb @@ -16,6 +16,8 @@ describe 'sahara::db::postgresql' do req_params end + it { is_expected.to contain_class('sahara::deps') } + it { is_expected.to contain_openstacklib__db__postgresql('sahara').with( :user => 'sahara', :password => 'saharapass',