commit 84f8be51aac27a6de27c05f41855b11631b04adb Author: ZhongShengping Date: Mon Oct 12 10:46:40 2020 +0800 Include deps class in unit test for sync Change-Id: I9bb34f22382063786ebe78d96f968cb605235103 diff --git a/spec/classes/ceilometer_db_sync_spec.rb b/spec/classes/ceilometer_db_sync_spec.rb index 39a43d6..b9f8c78 100644 --- a/spec/classes/ceilometer_db_sync_spec.rb +++ b/spec/classes/ceilometer_db_sync_spec.rb @@ -4,6 +4,8 @@ describe 'ceilometer::db::sync' do shared_examples_for 'ceilometer-upgrade' do + it { is_expected.to contain_class('ceilometer::deps') } + it 'runs ceilometer-upgrade' do is_expected.to contain_exec('ceilometer-upgrade').with( :command => 'ceilometer-upgrade ',