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