Missing deps for unit test of config.pp

Change-Id: I5a08e9314fe3eb3425fe1033a49da7c92a3a0fa1
This commit is contained in:
zhubingbing 2018-04-19 13:45:02 +08:00
parent 82e88f8ad9
commit 366f862f3d

View File

@ -12,6 +12,8 @@ describe 'gnocchi::config' do
end end
shared_examples_for 'gnocchi-config' do shared_examples_for 'gnocchi-config' do
it { is_expected.to contain_class('gnocchi::deps') }
it 'configures arbitrary gnocchi configurations' do it 'configures arbitrary gnocchi configurations' do
is_expected.to contain_gnocchi_config('DEFAULT/foo').with_value('fooValue') is_expected.to contain_gnocchi_config('DEFAULT/foo').with_value('fooValue')
is_expected.to contain_gnocchi_config('DEFAULT/bar').with_value('barValue') is_expected.to contain_gnocchi_config('DEFAULT/bar').with_value('barValue')