commit e891e3604b99d3b73535f329a0797630d27f5941 Author: ZhongShengping Date: Sat Oct 10 09:31:12 2020 +0800 Include deps class in unit test for postgresql Change-Id: I9004657f9ed0da8f53029d2f07d597bd1fdb5d36 diff --git a/spec/classes/heat_db_postgresql_spec.rb b/spec/classes/heat_db_postgresql_spec.rb index 85f9694..6ecb258 100644 --- a/spec/classes/heat_db_postgresql_spec.rb +++ b/spec/classes/heat_db_postgresql_spec.rb @@ -16,6 +16,8 @@ describe 'heat::db::postgresql' do req_params end + it { is_expected.to contain_class('heat::deps') } + it { is_expected.to contain_openstacklib__db__postgresql('heat').with( :user => 'heat', :password => 'heatpass',