oslo policy: check puppet resource instead of actual config in spec
Change-Id: Ifa58a79404fdc2edfad89f5b8db7b5d85eb5c199
This commit is contained in:
@@ -19,7 +19,9 @@ describe 'cloudkitty::policy' do
|
||||
:key => 'context_is_admin',
|
||||
:value => 'foo:bar'
|
||||
})
|
||||
is_expected.to contain_cloudkitty_config('oslo_policy/policy_file').with_value('/etc/cloudkitty/policy.json')
|
||||
is_expected.to contain_oslo__policy('cloudkitty_config').with(
|
||||
:policy_file => '/etc/cloudkitty/policy.json',
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user