oslo policy: check puppet resource instead of actual config in spec
Change-Id: I6791feeb04ca0ac5fa4ddf775352184c0dbd71a6
This commit is contained in:
parent
348333f4df
commit
106ae55131
@ -19,7 +19,9 @@ describe 'glare::policy' do
|
|||||||
:key => 'context_is_admin',
|
:key => 'context_is_admin',
|
||||||
:value => 'foo:bar'
|
:value => 'foo:bar'
|
||||||
})
|
})
|
||||||
is_expected.to contain_glare_config('oslo_policy/policy_file').with_value('/etc/glare/policy.json')
|
is_expected.to contain_oslo__policy('glare_config').with(
|
||||||
|
:policy_file => '/etc/glare/policy.json',
|
||||||
|
)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user