oslo policy: check puppet resource instead of actual config in spec

Change-Id: I6cd53642caffc0290ec38d514e6fcaa4eebd9572
This commit is contained in:
ZhongShengping 2017-05-23 15:18:08 +08:00
parent 0440533a3a
commit 62b80f66c7
1 changed files with 3 additions and 1 deletions

View File

@ -29,7 +29,9 @@ describe 'neutron::policy' do
end
it 'set policy_file in neutron.conf' do
is_expected.to contain_neutron_config('oslo_policy/policy_file').with_value(params[:policy_path])
is_expected.to contain_oslo__policy('neutron_config').with(
:policy_file => '/etc/neutron/policy.json',
)
end
end