Merge "oslo policy: check puppet resource instead of actual config in spec"

This commit is contained in:
Jenkins 2017-05-24 03:07:59 +00:00 committed by Gerrit Code Review
commit 83de4b0a4a
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@ describe 'ceilometer::policy' do
:key => 'context_is_admin',
:value => 'foo:bar'
})
is_expected.to contain_ceilometer_config('oslo_policy/policy_file').with_value('/etc/ceilometer/policy.json')
is_expected.to contain_oslo__policy('ceilometer_config').with(
:policy_file => '/etc/ceilometer/policy.json',
)
end
end