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

This commit is contained in:
Jenkins 2017-06-04 06:12:29 +00:00 committed by Gerrit Code Review
commit 3f31782411
1 changed files with 3 additions and 1 deletions

View File

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