summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-06-19 02:59:28 +0000
committerGerrit Code Review <review@openstack.org>2017-06-19 02:59:28 +0000
commit919a38e5de5ef580d9fdc8dc3923f1b058eff6ac (patch)
treeb578d84870afda7c7f14b4961c20a2ea28504552
parentc1c7e017fd1e39bc1aacceb2825c14b1d2d500a6 (diff)
parent358a9d43883bca096b8b503e24bec3bf78bc936f (diff)
Merge "oslo policy: check puppet resource instead of actual config in spec"
-rw-r--r--spec/classes/magnum_policy_spec.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/classes/magnum_policy_spec.rb b/spec/classes/magnum_policy_spec.rb
index e5bf2c7..06644d4 100644
--- a/spec/classes/magnum_policy_spec.rb
+++ b/spec/classes/magnum_policy_spec.rb
@@ -20,7 +20,9 @@ describe 'magnum::policy' do
20 :key => 'context_is_admin', 20 :key => 'context_is_admin',
21 :value => 'foo:bar' 21 :value => 'foo:bar'
22 }) 22 })
23 is_expected.to contain_magnum_config('oslo_policy/policy_file').with_value('/etc/magnum/policy.json') 23 is_expected.to contain_oslo__policy('magnum_config').with(
24 :policy_file => '/etc/magnum/policy.json',
25 )
24 end 26 end
25 end 27 end
26 28