oslo policy: check puppet resource instead of actual config in spec
Change-Id: I36fc2d21e5b026b9774365ec5a369a8bfd78af10
This commit is contained in:
parent
89d408fa92
commit
64127659ab
|
@ -19,7 +19,9 @@ describe 'congress::policy' do
|
|||
:key => 'context_is_admin',
|
||||
:value => 'foo:bar'
|
||||
})
|
||||
is_expected.to contain_congress_config('oslo_policy/policy_file').with_value('/etc/congress/policy.json')
|
||||
is_expected.to contain_oslo__policy('congress_config').with(
|
||||
:policy_file => '/etc/congress/policy.json',
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue