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