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