commit b27952a457c9f5584cc609f9f1829bc5d49ef6a7 Author: ZhongShengping Date: Mon Oct 12 10:46:40 2020 +0800 Include deps class in unit test for sync Change-Id: I404492a21eff9cfb4caf5e95228a8205ca9afcb6 diff --git a/spec/classes/neutron_db_sync_spec.rb b/spec/classes/neutron_db_sync_spec.rb index 72bb2db..dcecfa4 100644 --- a/spec/classes/neutron_db_sync_spec.rb +++ b/spec/classes/neutron_db_sync_spec.rb @@ -2,6 +2,9 @@ require 'spec_helper' describe 'neutron::db::sync' do shared_examples 'neutron-dbsync' do + + it { is_expected.to contain_class('neutron::deps') } + it 'runs neutron-db-sync' do should contain_exec('neutron-db-sync').with( :command => 'neutron-db-manage upgrade heads',