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