Include deps class in unit test for sync

Change-Id: I629f6031dcf27edacb9681f86fa7b0dd1433af2e
This commit is contained in:
ZhongShengping 2020-10-12 10:46:40 +08:00
parent e891e3604b
commit b1ba1d6376
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@ describe 'heat::db::sync' do
shared_examples_for 'heat-dbsync' do
it { is_expected.to contain_class('heat::deps') }
it 'runs heat-manage db_sync' do
is_expected.to contain_exec('heat-dbsync').with(
:command => 'heat-manage --config-file /etc/heat/heat.conf db_sync',