commit c43f2d259b75514409b356732ffb390f10c859e9 Author: ZhongShengping Date: Mon Oct 12 10:46:40 2020 +0800 Include deps class in unit test for sync Change-Id: If6e2c860653e40792fff7d3835f880a029cce0a5 diff --git a/spec/classes/rally_db_sync_spec.rb b/spec/classes/rally_db_sync_spec.rb index 2e8e377..221d29f 100644 --- a/spec/classes/rally_db_sync_spec.rb +++ b/spec/classes/rally_db_sync_spec.rb @@ -4,6 +4,8 @@ describe 'rally::db::sync' do shared_examples_for 'rally-dbsync' do + it { is_expected.to contain_class('rally::deps') } + it 'runs rally-manage db_sync' do is_expected.to contain_exec('rally-manage db_sync').with( :command => 'rally-manage --config-file /etc/rally/rally.conf db create',