Files
puppet-nova/spec/classes/nova_quota_spec.rb
Dan Bode c9757ec448 require sections are specified in nova_config
This massive code commit actually implements something very simple.

previously, we allowed nova_config to omit a section and assumed that
section was default.

This commit updates the code to require section names for all settings.

This change is being made b/c:
- it better maps to the config on disk
- it is consistent with the other modules

Change-Id: Iae71a4c48ed0f9792566f16f0bf13e61569b46e5
2013-04-12 15:06:58 -07:00

18 lines
309 B
Ruby

require 'spec_helper'
describe 'nova::quota' do
it { should contain_nova_config('DEFAULT/quota_ram').with_value('51200') }
describe 'when overriding params' do
let :params do
{:quota_ram => '1'}
end
it { should contain_nova_config('DEFAULT/quota_ram').with_value('1') }
end
end