commit 0f2c33a609bc2c7e43271a05a727cb81cd347c18 Author: ZhongShengping Date: Sat Oct 10 09:31:12 2020 +0800 Include deps class in unit test for postgresql Change-Id: Ib72bd1e9b45eef51e512c043309390ab9a2c4d2c diff --git a/spec/classes/senlin_db_postgresql_spec.rb b/spec/classes/senlin_db_postgresql_spec.rb index 4da12ab..18b42d1 100644 --- a/spec/classes/senlin_db_postgresql_spec.rb +++ b/spec/classes/senlin_db_postgresql_spec.rb @@ -16,6 +16,8 @@ describe 'senlin::db::postgresql' do required_params end + it { is_expected.to contain_class('senlin::deps') } + it { is_expected.to contain_openstacklib__db__postgresql('senlin').with( :user => 'senlin', :password => 'senlinpass',