oslo policy: check puppet resource instead of actual config in spec
Change-Id: I32b676775580c7e7b626a43e5cb6debf4ec2d88d
This commit is contained in:
parent
3653345f1c
commit
38342e2327
@ -19,7 +19,9 @@ describe 'watcher::policy' do
|
||||
:key => 'context_is_admin',
|
||||
:value => 'foo:bar'
|
||||
})
|
||||
is_expected.to contain_watcher_config('oslo_policy/policy_file').with_value('/etc/watcher/policy.json')
|
||||
is_expected.to contain_oslo__policy('watcher_config').with(
|
||||
:policy_file => '/etc/watcher/policy.json',
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user