(#1532) Replace ParserError with Puppet::Error #559
Annotations
2 errors
spec/unit/provider/postgresql_conf/ruby_spec.rb#L45
Puppet::Type::Postgresql_conf::ProviderRuby#exists? raises an error when multiple matching config items are found
Failure/Error: expect { provider.exists? }.to raise_error(Puppet::Error, 'found multiple config items of your_key found, please fix this')
expected Puppet::Error with "found multiple config items of your_key found, please fix this", got #<Puppet::Error: found multiple config items of your_key, please fix this> with backtrace:
# ./lib/puppet/provider/postgresql_conf/ruby.rb:78:in `exists?'
# ./spec/unit/provider/postgresql_conf/ruby_spec.rb:49:in `block (4 levels) in <top (required)>'
# ./spec/unit/provider/postgresql_conf/ruby_spec.rb:49: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>'
|
|
The logs for this run have expired and are no longer available.
Loading