Merge "oslo policy: check puppet resource instead of actual config in spec"
This commit is contained in:
commit
919a38e5de
|
@ -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