Browse Source

Include deps class in unit test for sync

Change-Id: I9bb34f22382063786ebe78d96f968cb605235103
changes/89/757389/1
ZhongShengping 2 years ago
parent
commit
84f8be51aa
  1. 2
      spec/classes/ceilometer_db_sync_spec.rb

2
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 ',

Loading…
Cancel
Save