Include deps class in unit test for sync

Change-Id: Iab1cbe0e328f83a5898a4613114a9b5b329e6211
This commit is contained in:
ZhongShengping 2020-10-12 10:46:40 +08:00
parent 5b19a072cb
commit 4efba47607

View File

@ -2,6 +2,9 @@ require 'spec_helper'
describe 'cinder::db::sync' do
shared_examples 'cinder-dbsync' do
it { is_expected.to contain_class('cinder::deps') }
it 'runs cinder-manage db_sync' do
is_expected.to contain_exec('cinder-manage db_sync').with(
:command => 'cinder-manage db sync',