oslo policy: check puppet resource instead of actual config in spec
Change-Id: Iccb0067e80e9bbc6a3c0ce2e1b1c0cbd34174b17
This commit is contained in:
parent
80f5b3740f
commit
a24211e73e
|
@ -19,7 +19,9 @@ describe 'panko::policy' do
|
|||
:key => 'context_is_admin',
|
||||
:value => 'foo:bar'
|
||||
})
|
||||
is_expected.to contain_panko_config('oslo_policy/policy_file').with_value('/etc/panko/policy.json')
|
||||
is_expected.to contain_oslo__policy('panko_config').with(
|
||||
:policy_file => '/etc/panko/policy.json',
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue