Add new ini_section type #63
Annotations
2 errors
Run tests:
spec/unit/puppet/provider/ini_section/ruby_spec.rb#L34
Puppet::Type::Ini_section::ProviderRuby when calling instances fails when file path is not set
Failure/Error:
expect {
provider_class.instances
}.to raise_error(Puppet::Error, 'Ini_settings only support collecting instances when a file path is hard coded')
expected Puppet::Error with "Ini_settings only support collecting instances when a file path is hard coded", got #<Puppet::Error: Ini_section only support collecting instances when a file path is hard coded> with backtrace:
# ./lib/puppet/provider/ini_section/ruby.rb:12:in `instances'
# ./spec/unit/puppet/provider/ini_section/ruby_spec.rb:36:in `block (4 levels) in <top (required)>'
# ./spec/unit/puppet/provider/ini_section/ruby_spec.rb:35:in `block (3 levels) in <top (required)>'
# ./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `load'
# ./vendor/bundle/ruby/2.7.0/bin/rspec:23:in `<top (required)>'
# /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle:23:in `load'
# /opt/hostedtoolcache/Ruby/2.7.8/x64/bin/bundle:23:in `<main>'
|
Run tests
Process completed with exit code 1.
|
Loading