commit e33ca6c9d8a4bcfa565b74b796d185beb0191eaf Author: ZhongShengping Date: Mon Oct 12 10:46:40 2020 +0800 Include deps class in unit test for sync Change-Id: I81750094beef53b709145debf865f4ad55267482 diff --git a/spec/classes/senlin_db_sync_spec.rb b/spec/classes/senlin_db_sync_spec.rb index c61328f..927cb07 100644 --- a/spec/classes/senlin_db_sync_spec.rb +++ b/spec/classes/senlin_db_sync_spec.rb @@ -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 ',