commit 7407250bae23d8673afc961c1d2491a97103d0d3 Author: ZhongShengping Date: Sat Oct 10 09:31:12 2020 +0800 Include deps class in unit test for postgresql Change-Id: I11fed9bf793abf7da6876b375b478e69a71be53c diff --git a/spec/classes/octavia_db_postgresql_spec.rb b/spec/classes/octavia_db_postgresql_spec.rb index f3e9c4e..03c42e1 100644 --- a/spec/classes/octavia_db_postgresql_spec.rb +++ b/spec/classes/octavia_db_postgresql_spec.rb @@ -16,6 +16,8 @@ describe 'octavia::db::postgresql' do req_params end + it { is_expected.to contain_class('octavia::deps') } + it { is_expected.to contain_openstacklib__db__postgresql('octavia').with( :user => 'octavia', :password => 'octaviapass',