Include deps class in unit test for sync

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

View File

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