oslo policy: check puppet resource instead of actual config in spec
Change-Id: If00ed6d398e0c5835bc75427a7b561b64b624520
This commit is contained in:
parent
2889c8d617
commit
40a0967ac7
|
@ -20,7 +20,9 @@ describe 'heat::policy' do
|
|||
:key => 'context_is_admin',
|
||||
:value => 'foo:bar'
|
||||
})
|
||||
is_expected.to contain_heat_config('oslo_policy/policy_file').with_value('/etc/heat/policy.json')
|
||||
is_expected.to contain_oslo__policy('heat_config').with(
|
||||
:policy_file => '/etc/heat/policy.json',
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue