Include deps class in unit test for sync

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

View File

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