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

Change-Id: If00ed6d398e0c5835bc75427a7b561b64b624520
This commit is contained in:
ZhongShengping 2017-05-23 15:01:27 +08:00
parent 2889c8d617
commit 40a0967ac7
1 changed files with 3 additions and 1 deletions

View File

@ -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