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