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

This commit is contained in:
Jenkins 2017-05-27 03:24:36 +00:00 committed by Gerrit Code Review
commit cfa9047b22
1 changed files with 3 additions and 1 deletions

View File

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