Fix Nova noop tests for override_resources

The change I6be7bb4cea1906bd98c513bd2d01153e4643e3ac is switching
nova_config provider to openstackconfig which uses arrays for all values,
so tests should be updated accordingly

Change-Id: Id093d32c24d856c3ef1064108c99ed74bf32bb49
Closes-bug: #1604034
This commit is contained in:
Denis Egorenko 2016-07-18 18:33:59 +03:00
parent 79d308ff1e
commit 2f2fa8dc46
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ describe manifest do
it 'should use override_resources to update nova_paste_api_ini' do
ral_catalog = Noop.create_ral_catalog self
nova_paste_api_ini_override_resources.each do |title, params|
params['value'] = 'True' if params['value'].is_a? TrueClass
params['value'] = ['True'] if params['value'].is_a? TrueClass
expect(ral_catalog).to contain_nova_paste_api_ini(title).with(params)
end
end