From b0cf8a88cd34d452824fc9dd85dc912f63b52c98 Mon Sep 17 00:00:00 2001 From: ZhongShengping Date: Mon, 12 Oct 2020 10:46:40 +0800 Subject: [PATCH] Include deps class in unit test for sync Change-Id: I01d8c01ba6d31841dee8cb1741a6bf7159b2e11f --- spec/classes/glare_db_sync_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/classes/glare_db_sync_spec.rb b/spec/classes/glare_db_sync_spec.rb index 671eab3..7e5cd8d 100644 --- a/spec/classes/glare_db_sync_spec.rb +++ b/spec/classes/glare_db_sync_spec.rb @@ -4,6 +4,8 @@ describe 'glare::db::sync' do shared_examples_for 'glare-dbsync' do + it { is_expected.to contain_class('glare::deps') } + it 'runs glare-manage db_sync' do is_expected.to contain_exec('glare-db-sync').with( :command => 'glare-db-manage upgrade',