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