commit 2bfe544e1657ca3b3ca386df434c6a25d1ce26cb Author: ZhongShengping Date: Mon Oct 12 10:46:40 2020 +0800 Include deps class in unit test for sync Change-Id: Ied01c209217af2e3001e6ffabe0a1bf06031ca3e diff --git a/spec/classes/keystone_db_sync_spec.rb b/spec/classes/keystone_db_sync_spec.rb index dd362d8..5286283 100644 --- a/spec/classes/keystone_db_sync_spec.rb +++ b/spec/classes/keystone_db_sync_spec.rb @@ -3,6 +3,9 @@ require 'spec_helper' describe 'keystone::db::sync' do shared_examples 'keystone::db::sync' do describe 'with only required params' do + + it { is_expected.to contain_class('keystone::deps') } + it { is_expected.to contain_exec('keystone-manage db_sync').with( :command => 'keystone-manage db_sync',