From 807c1f1bcd9d5d759d53906998812a12c05ba558 Mon Sep 17 00:00:00 2001 From: zhubingbing Date: Thu, 19 Apr 2018 13:43:10 +0800 Subject: [PATCH] Missing deps for unit test of config.pp Change-Id: I3156cbb1d7e06117ea5ccea5774558a7c595e170 --- spec/classes/freezer_config_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/classes/freezer_config_spec.rb b/spec/classes/freezer_config_spec.rb index 642f37a..fcfe3c8 100644 --- a/spec/classes/freezer_config_spec.rb +++ b/spec/classes/freezer_config_spec.rb @@ -14,6 +14,8 @@ describe 'freezer::config' do { :freezer_config => config_hash } end + it { is_expected.to contain_class('freezer::deps') } + it 'configures arbitrary freezer-config configurations' do is_expected.to contain_freezer_config('DEFAULT/foo').with_value('fooValue') is_expected.to contain_freezer_config('DEFAULT/bar').with_value('barValue')