Include deps class in unit test for sync

Change-Id: Ideaf429ae24e1e23c8721440b6184d02f4e3f500
This commit is contained in:
ZhongShengping 2020-10-12 10:46:40 +08:00
parent 68e04e58b4
commit 950956fc0a
1 changed files with 2 additions and 0 deletions

View File

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