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