Include deps class in unit test for sync
Change-Id: I404492a21eff9cfb4caf5e95228a8205ca9afcb6
This commit is contained in:
@@ -2,6 +2,9 @@ require 'spec_helper'
|
|||||||
|
|
||||||
describe 'neutron::db::sync' do
|
describe 'neutron::db::sync' do
|
||||||
shared_examples 'neutron-dbsync' do
|
shared_examples 'neutron-dbsync' do
|
||||||
|
|
||||||
|
it { is_expected.to contain_class('neutron::deps') }
|
||||||
|
|
||||||
it 'runs neutron-db-sync' do
|
it 'runs neutron-db-sync' do
|
||||||
should contain_exec('neutron-db-sync').with(
|
should contain_exec('neutron-db-sync').with(
|
||||||
:command => 'neutron-db-manage upgrade heads',
|
:command => 'neutron-db-manage upgrade heads',
|
||||||
|
Reference in New Issue
Block a user