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