commit 1894d38f5f400cc90628d5b86748ba9363f4dca5 Author: ZhongShengping Date: Mon Oct 12 10:46:40 2020 +0800 Include deps class in unit test for sync Change-Id: Ic854ed47007738c1809a354a27cd0dd659593f7e diff --git a/spec/classes/octavia_db_sync_spec.rb b/spec/classes/octavia_db_sync_spec.rb index cada853..079ba2b 100644 --- a/spec/classes/octavia_db_sync_spec.rb +++ b/spec/classes/octavia_db_sync_spec.rb @@ -4,6 +4,8 @@ describe 'octavia::db::sync' do shared_examples_for 'octavia-dbsync' do + it { is_expected.to contain_class('octavia::deps') } + it 'runs octavia-manage db upgrade' do is_expected.to contain_exec('octavia-db-sync').with( :command => 'octavia-db-manage upgrade head ',