From b27952a457c9f5584cc609f9f1829bc5d49ef6a7 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: I404492a21eff9cfb4caf5e95228a8205ca9afcb6 --- spec/classes/neutron_db_sync_spec.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spec/classes/neutron_db_sync_spec.rb b/spec/classes/neutron_db_sync_spec.rb index 72bb2db14..dcecfa400 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',