Include deps class in unit test for sync

Change-Id: Ied01c209217af2e3001e6ffabe0a1bf06031ca3e
This commit is contained in:
ZhongShengping 2020-10-12 10:46:40 +08:00
parent 3d9e860370
commit 2bfe544e16
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@ require 'spec_helper'
describe 'keystone::db::sync' do
shared_examples 'keystone::db::sync' do
describe 'with only required params' do
it { is_expected.to contain_class('keystone::deps') }
it {
is_expected.to contain_exec('keystone-manage db_sync').with(
:command => 'keystone-manage db_sync',