Include deps class in unit test for sync

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

View File

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