summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzhubingbing <zhu.bingbing@99cloud.net>2018-04-19 13:41:19 +0800
committerzhubingbing <zhu.bingbing@99cloud.net>2018-04-19 13:41:19 +0800
commit5310d71367fbb1946158f1d75814d92d0ee9018c (patch)
tree80ecf5cf6122512c38248926ce62cc702e1f950f
parent08629752432ec07282becdb4ff3ef70a2461ed30 (diff)
Missing deps for config.pp unit test
Notes
Notes (review): Code-Review+2: zhongshengping <chdzsp@163.com> Code-Review+1: wangqi <wang.qi@99cloud.net> Code-Review+2: Emilien Macchi <emilien@redhat.com> Workflow+1: Emilien Macchi <emilien@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 23 Apr 2018 16:45:28 +0000 Reviewed-on: https://review.openstack.org/562469 Project: openstack/puppet-designate Branch: refs/heads/master
-rw-r--r--spec/classes/designate_config_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/classes/designate_config_spec.rb b/spec/classes/designate_config_spec.rb
index 1e91f24..1bf2b6c 100644
--- a/spec/classes/designate_config_spec.rb
+++ b/spec/classes/designate_config_spec.rb
@@ -24,6 +24,8 @@ describe 'designate::config' do
24 24
25 25
26 shared_examples_for 'designate-config' do 26 shared_examples_for 'designate-config' do
27 it { is_expected.to contain_class('designate::deps') }
28
27 it 'configures arbitrary designate configurations' do 29 it 'configures arbitrary designate configurations' do
28 is_expected.to contain_designate_config('DEFAULT/foo').with_value('fooValue') 30 is_expected.to contain_designate_config('DEFAULT/foo').with_value('fooValue')
29 is_expected.to contain_designate_config('DEFAULT/bar').with_value('barValue') 31 is_expected.to contain_designate_config('DEFAULT/bar').with_value('barValue')