d83f3011f9
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.
10 satır
246 B
Ruby
10 satır
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
|