oslo policy: check puppet resource instead of actual config in spec
Change-Id: Id5ceebd5d5d99db395218d9bbf2d514cb1199188
This commit is contained in:
parent
dbe0d56392
commit
852a5b9f2f
|
@ -20,7 +20,9 @@ describe 'gnocchi::policy' do
|
|||
:key => 'context_is_admin',
|
||||
:value => 'foo:bar'
|
||||
})
|
||||
is_expected.to contain_gnocchi_config('oslo_policy/policy_file').with_value('/etc/gnocchi/policy.json')
|
||||
is_expected.to contain_oslo__policy('gnocchi_config').with(
|
||||
:policy_file => '/etc/gnocchi/policy.json',
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue