Merge "Missing deps for unit test of config.pp"

This commit is contained in:
Zuul 2018-04-23 16:45:08 +00:00 committed by Gerrit Code Review
commit 006565283c
1 changed files with 2 additions and 0 deletions

View File

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