Include deps class in unit test for sync

Change-Id: I404492a21eff9cfb4caf5e95228a8205ca9afcb6
This commit is contained in:
ZhongShengping
2020-10-12 10:46:40 +08:00
parent ac23462c73
commit b27952a457

View File

@@ -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',