oslo policy: check puppet resource instead of actual config in spec
Change-Id: I33e0bf272e7b962f7d9c62bafe00148f5613b94a
This commit is contained in:
parent
3fbc3701e3
commit
3b4214d140
@ -20,7 +20,9 @@ describe 'ironic::policy' do
|
|||||||
:key => 'context_is_admin',
|
:key => 'context_is_admin',
|
||||||
:value => 'foo:bar'
|
:value => 'foo:bar'
|
||||||
})
|
})
|
||||||
is_expected.to contain_ironic_config('oslo_policy/policy_file').with_value('/etc/ironic/policy.json')
|
is_expected.to contain_oslo__policy('ironic_config').with(
|
||||||
|
:policy_file => '/etc/ironic/policy.json',
|
||||||
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user