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

This commit is contained in:
Jenkins 2017-06-13 19:10:27 +00:00 committed by Gerrit Code Review
commit 3b7fa0d62f
1 changed files with 3 additions and 1 deletions

View File

@ -20,7 +20,9 @@ describe 'octavia::policy' do
:key => 'context_is_admin',
:value => 'foo:bar'
})
is_expected.to contain_octavia_config('oslo_policy/policy_file').with_value('/etc/octavia/policy.json')
is_expected.to contain_oslo__policy('octavia_config').with(
:policy_file => '/etc/octavia/policy.json',
)
end
end