From f9b76d3daf74df84c3b092081a4d7901ea7536a2 Mon Sep 17 00:00:00 2001 From: zhubingbing Date: Thu, 19 Apr 2018 13:49:00 +0800 Subject: [PATCH] Missing deps for unit test of config.pp Change-Id: Idb6a121351506ef832aadf5e1010909e7e5703ce --- spec/classes/magnum_config_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/classes/magnum_config_spec.rb b/spec/classes/magnum_config_spec.rb index fbbe8c6..5594cf5 100644 --- a/spec/classes/magnum_config_spec.rb +++ b/spec/classes/magnum_config_spec.rb @@ -14,6 +14,8 @@ describe 'magnum::config' do { :magnum_config => config_hash } end + it { is_expected.to contain_class('magnum::deps') } + it 'configures arbitrary magnum-config configurations' do is_expected.to contain_magnum_config('DEFAULT/foo').with_value('fooValue') is_expected.to contain_magnum_config('DEFAULT/bar').with_value('barValue')