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

This commit is contained in:
Jenkins 2017-05-23 23:10:39 +00:00 committed by Gerrit Code Review
commit f8bd6e7c12
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