module-inifile/spec/classes/inherit_test1_spec.rb
Garrett Honeycutt d83f3011f9 Add ability to specify a hash of ini_settings and ini_subsettings.
This added functionality allows you to specify hashes for ini_setting
and ini_subsetting so that they might be stored in Hiera. Without this
patch, you need to use ini_setting and ini_subsetting resources strictly
in code whereas with this patch, you could describe this in Hiera.
2016-01-06 12:27:21 -05:00

10 lines
246 B
Ruby

require 'spec_helper'
# We can't really test much here, apart from the type roundtrips though the
# parser OK.
describe 'inherit_test1' do
it {
should contain_inherit_ini_setting('valid_type').with({
'value' => 'true',
})
}
end