oslo policy: check puppet resource instead of actual config in spec
Change-Id: Icc33dd327680b54230128b2c3c9d0a3b052d85f6
This commit is contained in:
parent
f610aa0645
commit
1bd2953cb9
@ -39,7 +39,9 @@ describe 'barbican::policy' do
|
||||
:key => 'context_is_admin',
|
||||
:value => 'foo:bar'
|
||||
})
|
||||
is_expected.to contain_barbican_config('oslo_policy/policy_file').with_value('/etc/barbican/policy.json')
|
||||
is_expected.to contain_oslo__policy('barbican_config').with(
|
||||
:policy_file => '/etc/barbican/policy.json',
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user