Include deps class in unit test for sync

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

View File

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