commit c1d44eef060e9e9016e2ee7d89a5545bae3d3c33 Author: ZhongShengping Date: Mon Oct 12 10:46:40 2020 +0800 Include deps class in unit test for sync Change-Id: Ia956b917233ea49a6d5b74d630719eda5dde1d18 diff --git a/spec/classes/tacker_db_sync_spec.rb b/spec/classes/tacker_db_sync_spec.rb index 158b05c..a82a4af 100644 --- a/spec/classes/tacker_db_sync_spec.rb +++ b/spec/classes/tacker_db_sync_spec.rb @@ -4,6 +4,8 @@ describe 'tacker::db::sync' do shared_examples_for 'tacker-dbsync' do + it { is_expected.to contain_class('tacker::deps') } + it 'runs tacker-manage db sync' do is_expected.to contain_exec('tacker-db-sync').with( :command => 'tacker-db-manage --config-file /etc/tacker/tacker.conf upgrade head',